Amazon interview question

BFS, DFS based LC questions