You are given two integers representing the total units of food and medical kits, and an array of integers representing the capacities of crates. Determine the maximum number of crates that can be completely filled with either food or medical kits.
Analyze constraints and compute optimal solutions step-by-step.
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak