Domanda di colloquio di Meta

Some basic BFS, DFS and Two pointer problem