All challenges
Multiple ChoiceIntermediate 30s

DFS: Use Cases

DFS is commonly used for:
Options
  1. 1Cycle detection and topological sorting
  2. 2Level-order traversal
  3. 3Finding the minimum spanning tree
  4. 4Shortest path in unweighted graphs

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