DSA Visualized
← All topics
grid_view

Greedy & DP

Local greed, and remembering what you already solved.

01

Greedy Algorithms

Always take the best-looking option right now — and sometimes that's provably optimal.

play_circle
02

Dynamic Programming

Solve each small problem once, write the answer down, and never solve it again.

play_circle