Put Boxes Into the Warehouse II
You are given two arrays of positive integers, boxes and warehouse, representing the heights of boxes and warehouse rooms. The warehouse rooms are indexed 0 to n-1 from left to right. Boxes have unit width and cannot be stacked.
Check more interview questions and experiences about Pinterest
