# Greedy

- [670. Maximum Swap](/cracking-leetcode/greedy/670.-maximum-swap.md)
- [1605. Find Valid Matrix Given Row and Column Sums](/cracking-leetcode/greedy/1605.-find-valid-matrix-given-row-and-column-sums.md)
- [330. Patching Array](/cracking-leetcode/greedy/330.-patching-array.md)
- [(same as 330) 2952. Minimum Number of Coins to be Added](/cracking-leetcode/greedy/same-as-330-2952.-minimum-number-of-coins-to-be-added.md)
- [1404. Number of Steps to Reduce a Number in Binary Representation to One](/cracking-leetcode/greedy/1404.-number-of-steps-to-reduce-a-number-in-binary-representation-to-one.md)
- [55. Jump Game](/cracking-leetcode/greedy/55.-jump-game.md)
- [45. Jump Game II](/cracking-leetcode/greedy/45.-jump-game-ii.md)
- [122. Best Time to Buy and Sell Stock II](/cracking-leetcode/greedy/122.-best-time-to-buy-and-sell-stock-ii.md)
- [134. Gas Station](/cracking-leetcode/greedy/134.-gas-station.md)
- [135. Candy](/cracking-leetcode/greedy/135.-candy.md)
- [1840. Maximum Building Height](/cracking-leetcode/greedy/1840.-maximum-building-height.md)
- [452. Minimum Number of Arrows to Burst Balloons](/cracking-leetcode/greedy/untitled-1.md)
- [455. Assign Cookies](/cracking-leetcode/greedy/455.-assign-cookies.md)
- [659. Split Array into Consecutive Subsequences](/cracking-leetcode/greedy/659.-split-array-into-consecutive-subsequences.md)
- [860. Lemonade Change](/cracking-leetcode/greedy/untitled.md)
- [874. Walking Robot Simulation](/cracking-leetcode/greedy/874.-walking-robot-simulation.md)
- [1029. Two City Scheduling](/cracking-leetcode/greedy/1029.-two-city-scheduling.md)
- [1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts](/cracking-leetcode/greedy/1465.-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts.md)
- [1710. Maximum Units on a Truck](/cracking-leetcode/greedy/untitled-2.md)
- [767. Reorganize String](/cracking-leetcode/greedy/767.-reorganize-string.md)
- [lintcode 1871 · Maximum moment](/cracking-leetcode/greedy/lintcode-1871-maximum-moment.md)
- [1564. Put Boxes Into the Warehouse I](/cracking-leetcode/greedy/1564.-put-boxes-into-the-warehouse-i.md)
- [1580. Put Boxes Into the Warehouse II](/cracking-leetcode/greedy/1580.-put-boxes-into-the-warehouse-ii.md)
- [921. Minimum Add to Make Parentheses Valid](/cracking-leetcode/greedy/921.-minimum-add-to-make-parentheses-valid.md)
- [1167. Minimum Cost to Connect Sticks](/cracking-leetcode/greedy/1167.-minimum-cost-to-connect-sticks.md)
- [871. Minimum Number of Refueling Stops](/cracking-leetcode/greedy/871.-minimum-number-of-refueling-stops.md)
- [807. Max Increase to Keep City Skyline](/cracking-leetcode/greedy/807.-max-increase-to-keep-city-skyline.md)
- [670. Maximum Swap](/cracking-leetcode/greedy/670.-maximum-swap-1.md)
- [1675. Minimize Deviation in Array (pq or TreeSet](/cracking-leetcode/greedy/1675.-minimize-deviation-in-array-pq-or-treeset.md)
- [1567. Maximum Length of Subarray With Positive Product](/cracking-leetcode/greedy/1567.-maximum-length-of-subarray-with-positive-product.md)
- [926. Flip String to Monotone Increasing](/cracking-leetcode/greedy/926.-flip-string-to-monotone-increasing.md)
- [2214. Minimum Health to Beat Game](/cracking-leetcode/greedy/2214.-minimum-health-to-beat-game.md)
- [1686. Stone Game VI](/cracking-leetcode/greedy/1686.-stone-game-vi.md)
