Graph Theory37 sections · 1633 units
Open in Course

Quiz: Technique Selection

Knowledge check

Check Your Understanding

You need to compute the size of every subtree in a rooted tree. What's the most efficient approach?

  1. A.Run BFS from each node separately
  2. B.Floyd-Warshall on the tree
  3. C.Single DFS with post-order processing
  4. D.Binary search on subtree sizes
Start the roadmap to answer the quizzes and solve the challenges