Greedy Problems
About 1 min
Greedy Algorithm Problems
| Problem No. | Title | Solution | Tags | Difficulty |
|---|---|---|---|---|
| 0455 | Assign Cookies | [[LeetCode XXXX]] | Greedy, Array, Two Pointers, Sorting | Easy |
| 0860 | Lemonade Change | [[LeetCode XXXX]] | Greedy, Array | Easy |
| 0056 | Merge Intervals | [[LeetCode XXXX]] | Array, Sorting | Medium |
| 0435 | Non-overlapping Intervals | [[LeetCode XXXX]] | Greedy, Array, Dynamic Programming, Sorting | Medium |
| 0452 | Minimum Number of Arrows to Burst Balloons | [[LeetCode XXXX]] | Greedy, Array, Sorting | Medium |
| 0055 | Jump Game | [[LeetCode XXXX]] | Greedy, Array, Dynamic Programming | Medium |
| 0045 | Jump Game II | [[LeetCode XXXX]] | Greedy, Array, Dynamic Programming | Medium |
| 0392 | Is Subsequence | [[LeetCode XXXX]] | Two Pointers, String, Dynamic Programming | Easy |
| 0122 | Best Time to Buy and Sell Stock II | [[LeetCode XXXX]] | Greedy, Array | Easy |
| 0561 | Array Partition I | [[LeetCode XXXX]] | Greedy, Array, Counting Sort, Sorting | Easy |
| 1710 | Maximum Units on a Truck | [[LeetCode XXXX]] | Greedy, Array, Sorting | Easy |
| 1217 | Play with Chips | [[LeetCode XXXX]] | Greedy, Array, Mathematics | Easy |
| 1247 | Minimum Swaps to Make Strings Equal | [[LeetCode XXXX]] | Greedy, Mathematics, String | Medium |
| 1400 | Construct K Palindrome Strings | [[LeetCode XXXX]] | Greedy, Hash Table, String, Counting | Medium |
| 0921 | Minimum Add to Make Parentheses Valid | [[LeetCode XXXX]] | Stack, Greedy, String | Medium |
| 1029 | Two City Scheduling | [[LeetCode XXXX]] | Greedy, Array, Sorting | Medium |
| 1605 | Find Valid Matrix Given Row and Column Sums | [[LeetCode XXXX]] | Greedy, Array, Matrix | Medium |
| 0135 | Candy | [[LeetCode XXXX]] | Greedy, Array | Hard |
| 0134 | Gas Station | [[LeetCode XXXX]] | Greedy, Array | Medium |
| 0053 | Maximum Subarray | [[LeetCode XXXX]] | Array, Divide and Conquer, Dynamic Programming | Medium |
| 0376 | Wiggle Subsequence | [[LeetCode XXXX]] | Greedy, Array, Dynamic Programming | Medium |
| 0738 | Monotone Increasing Digits | [[LeetCode XXXX]] | Greedy, Mathematics | Medium |
| 0402 | Remove K Digits | Stack, Greedy, String, Monotonic Stack | Medium | |
| 0861 | Score After Flipping Matrix | [[LeetCode XXXX]] | Greedy, Bit Manipulation, Array, Matrix | Medium |
| 0670 | Maximum Swap | Greedy, Mathematics | Medium |