All challenges
Multiple ChoiceIntermediate 30s

BFS vs DFS

Which traversal finds the shortest path (in edge count) on an unweighted graph?
Options
  1. 1Neither
  2. 2DFS
  3. 3Both equally
  4. 4BFS

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle