Domanda di colloquio di Amazon Lab126

Nothing unexpected. Normal algorithm and design questions.