Concept Flow - Why Backtracking and What Greedy Cannot Solve
Start Problem
Try Greedy Approach
Is Greedy Solution Optimal?
No→Use Backtracking
Explore All Options
Accept Greedy Solution
Backtrack on Failure
End
Start by trying a simple greedy choice. If it fails to find the best answer, use backtracking to explore all possibilities and backtrack when needed.
