Graph Theory37 sections · 1633 units
Open in Course

Quiz: Query Complexity

Knowledge check

Check Your Understanding

HLD path query: You query the path from uu to vv using a segment tree on each chain. What's the time complexity?

  1. A.O(log2n)O(\log^2 n)
  2. B.O(nlogn)O(n \log n)
  3. C.O(logn)O(\log n)
  4. D.O(n)O(n)
Start the roadmap to answer the quizzes and solve the challenges