BackmediumUncategorized uncategorized medium

Maximum Crate Capacity Solution

Problem Statement

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.

Live Compiler
Loading...
Test Cases & Output
🔒 Sign up to run your code

🚀 Practice this problem

Run code, get AI hints & track streak

Sign Up Free