Design a data structure to maintain a collection of empty crates of varying sizes that supports inserting a crate, searching for the smallest crate capable of holding an item of size S (best fit), and…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.