Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Rerooting Complexity
Understanding the efficiency
Check Your Understanding
In rerooting technique, what is the total time complexity for computing DP values for all nodes as root?
- A.O(n)
- B.O(n log n)
- C.O(n^2)
- D.O(n^3)