IMPLEMENT · 20 MIN

Place a column of boxes and detect overflow

Place the boxes in input order and return their dimensions and horizontal overflow.

Checking this browser’s progress…