10 lessons · DSA pattern
Greedy
Greedy = DP without the table. When local-best is provably global-best, you skip the DP work entirely. You already learned: DP — the general framework (sta…
Start learning →Greedy = DP without the table. When local-best is provably global-best, you skip the DP work entirely. You already learned: DP — the general framework (sta…
Start learning →