Skip to content

Files

Latest commit

 

History

History
 
 

Greedy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fork me on GitHub

Greedy : 🚩

Questions

Problem Name
Boats to Save People (Leetcode-881)
Minimum Deletion Cost to Avoid Repeating Letters (2 approaches) (Leetcode-1578)
Task Scheduler (Leetcode-621)
Gas Station (or, Circular Tour) (Leetcode-134)
Minimum Number of Arrows to Burst Balloons (3 approaches) (Leetcode-452)
Minimum Domino Rotations For Equal Row (Leetcode-1007)
Bag of Tokens (Leetcode-948)
Smallest String With A Given Numeric Value (Leetcode-1663)
Find the Most Competitive Subsequence (Leetcode-1673)
Min Swaps to Make Palindrome (Distorted Palindrome) (Microsoft)
Minimum Swaps to Make Strings Equal (Leetcode-1247)
Find Valid Matrix Given Row and Column Sums (Leetcode-1605)
Partitioning Into Minimum Number Of Deci-Binary Numbers (Leetcode-1689)
Broken Calculator (Leetcode-991)
Wiggle Subsequence (Leetcode-376)
Put Boxes Into the Warehouse I (Leetcode-1564)
Two City Scheduling (3 approaches) (Leetcode-1029)
Maximum Performance of a Team (Leetcode-1383)
Non-overlapping Intervals (Leetcode-435)
Candy (Leetcode-135)
Fractional Knapsack
Patching Array (Leetcode-330)
Break a Palindrome (Leetcode-1328)
Split Array into Consecutive Subsequences (Leetcode-659)
Minimum Time to Make Rope Colorful (Leetcode-1578)
Earliest Possible Day of Full Bloom (Leetcode-2136)
Longest Palindrome by Concatenating Two Letter Words (Leetcode-2131)
Maximum 69 Number (Leetcode-1323)
Maximum Bags With Full Capacity of Rocks (Leetcode-2279)
Minimum Rounds to Complete All Tasks (Leetcode-2244)
Maximum Ice Cream Bars (Leetcode-1833)
Optimal Partition of String (Leetcode-2405)
Dota2 Senate (Leetcode-649)
Minimum Replacements to Sort the Array (Leetcode-2366)
Minimum Number of Taps to Open to Water a Garden (Leetcode-1326)
Minimum Deletions to Make Character Frequencies Unique (Leetcode-1647)
Remove Colored Pieces if Both Neighbors are the Same Color (Leetcode-2038)
Maximum Score of a Good Subarray (Leetcode-1793)
Eliminate Maximum Number of Monsters (Leetcode-1921)
Maximum Element After Decreasing and Rearranging (Leetcode-1846)
Maximum Number of Coins You Can Get (Leetcode-1561)
Minimum Number of Operations to Make Array Empty (Leetcode-2870)
Water the plants (GFG)