Question d’entretien chez Amazon

Typical algorithm problems about array and DFS/BFS