Pergunta de entrevista da empresa Emumba

which data structures are used for bfs and dfs and why