Graph Theory37 sections · 1633 units
Open in Course

Quiz: Max White Subtree

Knowledge check

Check Your Understanding

Each node is black (1-1) or white (+1+1). For each node, find the maximum sum of any connected subtree containing it. What technique do you use?

  1. A.BFS level-order traversal
  2. B.Find centroids first
  3. C.Single DFS from any root
  4. D.Rerooting DP
Start the roadmap to answer the quizzes and solve the challenges