Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 4.2 KB

leetcode-discuss.md

File metadata and controls

84 lines (67 loc) · 4.2 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/