Domanda di colloquio di Amazon

1st question was basic, 2nd question was from Tree