BusiApp interview question

How I would categorize random objects in a box.