Graph Theory37 sections · 1633 units
Open in Course

Quiz: Decomposition Tree Depth

Knowledge check

Check Your Understanding

A centroid decomposition tree of nn nodes has depth O(logn)O(\log n). Why?

  1. A.Because each centroid splits the tree into exactly 22 equal halves
  2. B.Because removing a centroid leaves subtrees of at most n/2\lfloor n/2 \rfloor nodes, so sizes halve at each level
  3. C.Because the tree is always balanced after decomposition
  4. D.Because centroid decomposition applies binary search on the tree
Start the roadmap to answer the quizzes and solve the challenges