Ezvor

1564. Put Boxes Into the Warehouse I

MediumArray Preparing judge… LeetCode
ArrayGreedySorting

Hints

Hint 1
Sort the boxes in ascending order, try to process the box with the smallest height first.