Skip to content

v0.5.0

Choose a tag to compare

@MorePeanuts MorePeanuts released this 13 Nov 05:58
· 134 commits to main since this release

Added

Added 67 problems across nine NeetCode 150 topics. The pack now contains 155 problems, including all 143 non-premium NeetCode 150 problems. The seven LeetCode premium problems remain excluded.

  • Backtracking (#37): 78. subsets, 39. combination-sum, 40. combination-sum-ii, 46. permutations, 90. subsets-ii, 22. generate-parentheses, 79. word-search, 131. palindrome-partitioning, 17. letter-combinations-of-a-phone-number, 51. n-queens.
  • Graphs (#38): 695. max-area-of-island, 133. clone-graph, 994. rotting-oranges, 417. pacific-atlantic-water-flow, 130. surrounded-regions, 210. course-schedule-ii, 684. redundant-connection, 127. word-ladder.
  • Advanced Graphs (#39): 743. network-delay-time, 332. reconstruct-itinerary, 1584. min-cost-to-connect-all-points, 778. swim-in-rising-water, 787. cheapest-flights-within-k-stops.
  • 1-D Dynamic Programming (#40): 70. climbing-stairs, 746. min-cost-climbing-stairs, 198. house-robber, 213. house-robber-ii, 647. palindromic-substrings, 91. decode-ways, 152. maximum-product-subarray, 139. word-break, 416. partition-equal-subset-sum.
  • 2-D Dynamic Programming (#41): 62. unique-paths, 309. best-time-to-buy-and-sell-stock-with-cooldown, 518. coin-change-ii, 494. target-sum, 97. interleaving-string, 329. longest-increasing-path-in-a-matrix, 115. distinct-subsequences, 312. burst-balloons, 10. regular-expression-matching.
  • Greedy (#42): 53. maximum-subarray, 55. jump-game, 45. jump-game-ii, 134. gas-station, 846. hand-of-straights, 1899. merge-triplets-to-form-target-triplet, 763. partition-labels, 678. valid-parenthesis-string.
  • Intervals (#43): 57. insert-interval, 435. non-overlapping-intervals, 1851. minimum-interval-to-include-each-query.
  • Math & Geometry (#44): 48. rotate-image, 54. spiral-matrix, 73. set-matrix-zeroes, 202. happy-number, 66. plus-one, 50. powx-n, 43. multiply-strings, 2013. detect-squares.
  • Bit Manipulation (#45): 136. single-number, 191. number-of-1-bits, 338. counting-bits, 190. reverse-bits, 268. missing-number, 371. sum-of-two-integers, 7. reverse-integer.

The 67 additions contain 2,197 test cases. Each new problem includes official English and Chinese statements, Go and Python references, authored boundary cases, and applicable topic-group membership. Larger cases use deterministic generators; multiple-answer problems use appropriate comparison rules or checkers.

Validation

  • Every problem addition passed hc pack check before its commit.
  • Reference solutions were tested against independent small-case oracles where appropriate, and cases were checked against plausible incorrect solutions.
  • Final integrated pack and release commit passed the repository CI checks.

Compatibility

  • Protocol remains 1; minimum supported hc is v0.1.0-alpha.11, the version pinned and verified by CI.
  • Reference solutions remain compatible with Python 3.12 and Go 1.22.
  • No existing problems removed, identities or signatures changed, or breaking changes introduced.