Citadel interview question

DFS/BFS tree question in file system