Domanda di colloquio di Amazon

Typical algorithm problems about array and DFS/BFS