FaangDeck
10 lessons · DSA pattern

Greedy

You already know: sort-then-scan ( 3Sum ), a min-heap ( Heap ), and Jump Game , where a table was overkill New: the greedy choice — commit to one choice pe…

Start learning →

Free · No signup