Question d’entretien chez Brain Station-23

time complexity of bfs,dfs algorithm