SAP智力題:The number of balls ★★★★
There are N balls on a flat surface, you can watch from side, you can choose any angle, what you can see is shadows of the balls on the side. How many times at least do you need to watch so you are are sure to figure out the N?
There are N balls in 3D space, you can watch at any angle, what you can see is shadows of the balls on the side where you watch from. How many times at least do you need to watch so you are sure to figure out the N?
( https://www.sdn.sap.com/irj/scn/forum?forumID=410 )