Given a list of checkpoints with their respective supply capacities and a team's current stock of food and water, determine the maximum number of checkpoints that can be reached with the current stock. Each checkpoint can only be resupplied once, and a checkpoint can only be traveled to if it is within the current stock's range.
Analyze constraints and compute optimal solutions step-by-step.
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak