Greedy
Take the best choice right now, once you can show it never hurts later. 395 problems from 44 companies, most widely asked first. Tick them off as you go; your ticks stay in this browser.
- problems
- 395
- hard
- 85
- done
- 0
395 of 395 problems
- 1Container With Most Water (opens LeetCode in a new tab)Array, Two Pointers, GreedyMedium24companies
- 2Meeting Rooms II (opens LeetCode in a new tab)Array, Two Pointers, GreedyMedium20companies
- 3Jump Game (opens LeetCode in a new tab)Array, Dynamic Programming, GreedyMedium17companies
- 4Jump Game II (opens LeetCode in a new tab)Array, Dynamic Programming, GreedyMedium17companies
- 5Candy (opens LeetCode in a new tab)Array, GreedyHard14companies
- 6Task Scheduler (opens LeetCode in a new tab)Array, Hash Table, GreedyMedium14companies
- 7Best Time to Buy and Sell Stock II (opens LeetCode in a new tab)Array, Dynamic Programming, GreedyMedium13companies
- 8Gas Station (opens LeetCode in a new tab)Array, GreedyMedium13companies
- 9Maximum Number of Events That Can Be Attended (opens LeetCode in a new tab)Array, Greedy, SortingMedium13companies
- 10Largest Number (opens LeetCode in a new tab)Array, String, GreedyMedium12companies
- 11Non-overlapping Intervals (opens LeetCode in a new tab)Array, Dynamic Programming, GreedyMedium12companies
- 12Remove K Digits (opens LeetCode in a new tab)String, Stack, GreedyMedium12companies
- 13Reorganize String (opens LeetCode in a new tab)Hash Table, String, GreedyMedium12companies
- 14Can Place Flowers (opens LeetCode in a new tab)Array, GreedyEasy11companies
- 15Split Array Largest Sum (opens LeetCode in a new tab)Array, Binary Search, Dynamic ProgrammingHard11companies
- 16Valid Parenthesis String (opens LeetCode in a new tab)String, Dynamic Programming, StackMedium11companies
- 17Wildcard Matching (opens LeetCode in a new tab)String, Dynamic Programming, GreedyHard10companies
- 18Boats to Save People (opens LeetCode in a new tab)Array, Two Pointers, GreedyMedium9companies
- 19Put Marbles in Bags (opens LeetCode in a new tab)Array, Greedy, SortingHard9companies
- 20Valid Palindrome II (opens LeetCode in a new tab)Two Pointers, String, GreedyEasy9companies
- 21Best Time to Buy and Sell Stock with Transaction Fee (opens LeetCode in a new tab)Array, Dynamic Programming, GreedyMedium8companies
- 22Frequency of the Most Frequent Element (opens LeetCode in a new tab)Array, Binary Search, GreedyMedium8companies
- 23Maximum Swap (opens LeetCode in a new tab)Math, GreedyMedium8companies
- 24Maximum Units on a Truck (opens LeetCode in a new tab)Array, Greedy, SortingEasy8companies
- 25Rearranging Fruits (opens LeetCode in a new tab)Array, Hash Table, GreedyHard8companies
- Showing 25 of 395
"Companies" counts the companies in DSA Atlas that have asked the problem at any time. Patterns and data structures come from LeetCode topic tags. Your ticks are saved in this browser only, and shared with the company pages.
Credits
These lists are the work of two open GitHub projects. Thank you to their authors.
- liquidslr/leetcode-company-wise-problems: the problem lists for each company (titles, difficulty, frequency, topics, LeetCode links).
- nishant-Tiwari24/company-wise-dsa: the focus tip and important topics shown on each company card.
Problem text stays on LeetCode; we link to it. Frequencies are relative within a company.
Last synced