Apple Coding Interview Question - Apple Redistribution Into Boxes