PRACTICE

Greedy Interview Questions

43 Greedy problems asked across FAANG and top tech companies. Approach hints, optimal solutions, and related problems.

Ready to try these in a real interview?

I'm Alex. I'll interview you on 2 problems like these at your level, ask follow-ups, and give you a scored report.

πŸ”’

to save your progress.

Companies

Topics

Greedy 43
GreedyClear all
11.Container With Most Water
ArrayTwo PointersGreedy
Medium+6β–Ά Mock
253.Meeting Rooms II
ArrayHeapSorting
Medium+6β–Ά Mock
134.Gas Station
ArrayGreedy
Medium+5β–Ά Mock
621.Task Scheduler
GreedyHeapHash Table
Medium+2β–Ά Mock
45.Jump Game II
ArrayDynamic ProgrammingGreedy
122.Best Time to Buy and Sell Stock II
ArrayDynamic ProgrammingGreedy
44.Wildcard Matching
StringDynamic ProgrammingGreedy
2571.Minimum Operations to Reduce an Integer to 0
Dynamic ProgrammingGreedyBit Manipulation
410.Split Array Largest Sum
ArrayBinary SearchDynamic Programming
2939.Maximum XOR Product
MathGreedyBit Manipulation
870.Advantage Shuffle
ArrayTwo PointersGreedy
1739.Building Boxes
MathBinary SearchGreedy
1386.Cinema Seat Allocation
ArrayHash TableGreedy
55.Jump Game
ArrayDynamic ProgrammingGreedy
179.Largest Number
ArrayStringGreedy
2561.Rearranging Fruits
ArrayHash TableGreedy
402.Remove K Digits
StringStackGreedy
767.Reorganize String
Hash TableStringGreedy
871.Minimum Number of Refueling Stops
ArrayDynamic ProgrammingGreedy
678.Valid Parenthesis String
StringDynamic ProgrammingStack
1029.Two City Scheduling
ArrayGreedySorting
1055.Shortest Way to Form String
Two PointersStringBinary Search
2439.Minimize Maximum of Array
ArrayBinary SearchDynamic Programming
2680.Maximum OR
ArrayGreedyBit Manipulation

Practice with a Mock Interview

Solve these Greedy problems under real interview pressure with our AI interviewer.

Start Mock Interview β†’