Striver A2Z · Greedy Single-Pass Decision
Make a locally optimal choice while scanning once left to right, where the specific decision rule is simple enough not to warrant its own named pattern.
Sheet Problems: 3
Category: Greedy
Featured Problems (3)
Explore More Patterns in Striver A2Z
Track your progress across all 243 problems in this curriculum roadmap.