You are given a list of crates with their weights and a list of camps with their weight capacities. Each crate can be transported to a subset of the camps. Determine the maximum number of crates that can be allocated to the camps without exceeding their weight capacities.
Analyze constraints and compute optimal solutions step-by-step.
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak