Pregunta de entrevista de Brain Station-23

time complexity of bfs,dfs algorithm