Skip to content

Files

Latest commit

Mar 22, 2025
7933f51 · Mar 22, 2025

History

History
119 lines (101 loc) · 6.28 KB

leetcode-discuss.md

File metadata and controls

119 lines (101 loc) · 6.28 KB

Prefix Problems

  1. https://leetcode.com/problems/sum-of-total-strength-of-wizards/
  2. https://leetcode.com/problems/number-of-submatrices-that-sum-to-target/
  3. https://leetcode.com/problems/subarray-sums-divisible-by-k/

Sliding Window Problems

  1. https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-frequency/
  2. https://leetcode.com/problems/find-the-longest-equal-subarray/
  3. https://leetcode.com/problems/count-complete-subarrays-in-an-array/
  4. https://leetcode.com/problems/maximum-beauty-of-an-array-after-applying-operation/
  5. https://leetcode.com/problems/binary-subarrays-with-sum/
  6. https://leetcode.com/problems/subarrays-with-k-different-integers/
  7. https://leetcode.com/problems/fruit-into-baskets/
  8. https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k/
  9. https://leetcode.com/problems/longest-repeating-character-replacement/
  10. https://leetcode.com/problems/minimum-size-subarray-sum/

Stack Problems

  1. https://leetcode.com/problems/collecting-chocolates/
  2. https://leetcode.com/problems/minimum-time-to-repair-cars/
  3. https://leetcode.com/problems/next-greater-element-iv/
  4. https://leetcode.com/problems/online-stock-span/
  5. https://leetcode.com/problems/score-of-parentheses/
  6. https://leetcode.com/problems/next-greater-element-ii/

Mono Stack Problem

  1. https://leetcode.com/problems/beautiful-towers-ii/
  2. https://leetcode.com/problems/next-greater-element-iv/ +duplicate
  3. https://leetcode.com/problems/maximum-number-of-robots-within-budget/

Binary Search Problems

  1. https://leetcode.com/problems/minimize-the-maximum-difference-of-pairs/
  2. https://leetcode.com/problems/house-robber-iv/
  3. https://leetcode.com/problems/maximum-candies-allocated-to-k-children/
  4. https://leetcode.com/problems/koko-eating-bananas/
  5. https://leetcode.com/problems/minimize-max-distance-to-gas-station/
  6. https://leetcode.com/problems/split-array-largest-sum/

DP problems

  1. https://leetcode.com/problems/maximum-points-after-collecting-coins-from-all-nodes/
  2. https://leetcode.com/problems/minimum-increment-operations-to-make-array-beautiful/
  3. https://leetcode.com/problems/apply-operations-to-make-two-strings-equal/
  4. https://leetcode.com/problems/maximize-the-profit-as-the-salesman/
  5. https://leetcode.com/problems/maximum-earnings-from-taxi/
  6. https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended-ii/
  7. https://leetcode.com/problems/maximum-profit-in-job-scheduling/
  1. https://leetcode.com/problems/minimum-difference-between-largest-and-smallest-value-in-three-moves/
  2. https://leetcode.com/problems/number-of-good-ways-to-split-a-string/
  3. https://leetcode.com/problems/largest-time-for-given-digits/
  4. https://leetcode.com/problems/last-stone-weight-ii/
  5. https://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-sum-difference/
  6. https://leetcode.com/problems/minimum-domino-rotations-for-equal-row/
  7. https://leetcode.com/problems/single-row-keyboard/
  8. https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/
  9. https://leetcode.com/problems/meeting-rooms-ii/
  10. https://leetcode.com/problems/k-closest-points-to-origin/
  11. https://leetcode.com/problems/odd-even-jump/
  12. https://leetcode.com/problems/license-key-formatting/
  13. https://leetcode.com/problems/unique-email-addresses/
  14. https://leetcode.com/problems/fruit-into-baskets/ +duplicate
  15. https://leetcode.com/problems/split-array-largest-sum/ +duplicate
  16. https://leetcode.com/problems/k-empty-slots/
  17. https://leetcode.com/problems/diameter-of-binary-tree/
  18. https://leetcode.com/problems/heaters/
  19. https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing/
  20. https://leetcode.com/problems/tree-diameter/
  21. https://leetcode.com/problems/minimum-height-trees/
  22. https://leetcode.com/problems/maximum-number-of-accepted-invitations/
  1. https://leetcode.com/problems/maximum-population-year/
  2. https://leetcode.com/problems/points-that-intersect-with-cars/
  3. https://leetcode.com/problems/meeting-rooms-ii/ +duplicate
  4. https://leetcode.com/problems/my-calendar-ii/
  5. https://www.lintcode.com/problem/brightest-position-on-street/
  6. https://leetcode.com/problems/check-if-all-the-integers-in-a-range-are-covered/
  7. https://leetcode.com/problems/range-addition/
  8. https://leetcode.com/problems/car-pooling/
  9. https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/
  10. https://leetcode.com/problems/non-overlapping-intervals/
  11. https://leetcode.com/problems/maximum-length-of-pair-chain/
  12. https://leetcode.com/problems/meeting-rooms/
  13. https://leetcode.com/problems/insert-interval/
  14. https://www.lintcode.com/problem/delete-interval/
  15. https://www.lintcode.com/problem/meeting-scheduler/
  16. https://leetcode.com/problems/remove-covered-intervals/
  17. https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/
  18. https://leetcode.com/problems/merge-intervals/
  19. https://leetcode.com/problems/maximum-sum-obtained-of-any-permutation/
  20. https://leetcode.com/problems/describe-the-painting/
  21. https://leetcode.com/problems/minimum-moves-to-make-array-complementary/
  22. https://leetcode.com/problems/amount-of-new-area-painted-each-day/
  23. https://leetcode.com/problems/number-of-flowers-in-full-bloom/
  24. https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden/
  25. https://leetcode.com/problems/my-calendar-iii/
  26. https://leetcode.com/problems/employee-free-time/
  27. https://leetcode.com/problems/minimum-interval-to-include-each-query/
  28. https://leetcode.com/problems/rectangle-area-ii/
  29. https://leetcode.com/problems/perfect-rectangle/
  30. https://leetcode.com/problems/perfect-rectangle/ +duplicate
  31. https://leetcode.com/problems/the-skyline-problem/
  32. https://leetcode.com/problems/erect-the-fence/
  33. https://leetcode.com/problems/range-sum-query-mutable/