Domanda di colloquio di Amazon Robotics

some basic problem about recursion