Vista interview question

Design and implement an efficient algorithm to solve 2D box packing.