Domanda di colloquio di Amazon

Time is limited, must program & debug within 30 mins/ question