Greedy Problems

Num | Problem | Summary |
---|---|---|

1 | Next Permutation | LeetCode: Next Permutation |

2 | Split Array into Consecutive Subsequences | LeetCode: Split Array into Consecutive Subsequences |

3 | Remove duplicate letters | Remove Duplicate Letters |

4 | Bag of Tokens | LeetCode: Bag of Tokens |

5 | Two City Scheduling | LeetCode: Two City Scheduling |

6 | Split Concatenated Strings | LeetCode: Split Concatenated Strings |

7 | Jump Game II | LeetCode: Jump Game II |

8 | Delete Columns to Make Sorted II | LeetCode: Delete Columns to Make Sorted II |

See all greedy problems: #greedy

- Review: Greedy Problems
- LintCode: Big Business
- LeetCode: Video Stitching
- LeetCode: Valid Triangle Number
- LeetCode: Two City Scheduling
- LeetCode: Task Scheduler
- LeetCode: String Without AAA or BBB
- LeetCode: Split Concatenated Strings
- LeetCode: Split Array Largest Sum
- LeetCode: Split Array into Consecutive Subsequences
- LeetCode: Split a String in Balanced Strings
- LeetCode: Smallest Range II
- LeetCode: Remove K Digits
- LeetCode: Remove Duplicate Letters
- LeetCode: Reach a Number
- LeetCode: Queue Reconstruction by Height
- LeetCode: Previous Permutation With One Swap
- LeetCode: Partition Labels
- LeetCode: Optimize Water Distribution in a Village
- LeetCode: Next Permutation
- LeetCode: Moving Stones Until Consecutive
- LeetCode: Monotone Increasing Digits
- LeetCode: Minimum Number of Taps to Open to Water a Garden
- LeetCode: Minimum Number of Arrows to Burst Balloons
- LeetCode: Minimum Cost Tree From Leaf Values
- LeetCode: Minimize Rounding Error to Meet Target
- LeetCode: Maximum Number of Events That Can Be Attended
- LeetCode: Maximum Average Subarray I
- LeetCode: Maximize Sum Of Array After K Negations
- LeetCode: Max Difference You Can Get From Changing an Integer
- LeetCode: Max Consecutive Ones III
- LeetCode: Max Chunks To Make Sorted
- LeetCode: Longest Happy String
- LeetCode: Last Substring in Lexicographical Order
- LeetCode: Largest Perimeter Triangle
- LeetCode: Largest Multiple of Three
- LeetCode: Jump Game II
- LeetCode: Jump Game
- LeetCode: Is Graph Bipartite?
- LeetCode: Gas Station
- LeetCode: Flower Planting With No Adjacent
- LeetCode: Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
- LeetCode: Find the Closest Palindrome
- LeetCode: Dota2 Senate
- LeetCode: Divide Array Into Increasing Sequences
- LeetCode: Delete Columns to Make Sorted II
- LeetCode: Couples Holding Hands
- LeetCode: Construct K Palindrome Strings
- LeetCode: Connecting Cities With Minimum Cost
- LeetCode: Check If a String Can Break Another String
- LeetCode: Candy
- LeetCode: Broken Calculator
- LeetCode: Break a Palindrome
- LeetCode: Boats to Save People
- LeetCode: Binary Tree Coloring Game
- LeetCode: Binary Tree Cameras
- LeetCode: Best Time to Buy and Sell Stock II
- LeetCode: Best Time to Buy and Sell Stock
- LeetCode: Bag of Tokens
- LeetCode: Assign Cookies
- LeetCode: Advantage Shuffle

See more blog posts.