Concept Flow - Greedy vs DP How to Know Which to Apply
Start Problem
Check if Greedy works?
Apply [Check if DP applies
Start by checking if greedy choice leads to optimal solution. If not, check if problem has overlapping subproblems and optimal substructure for DP.
