Dynamic Programming21 sections · 916 units
Open in CourseQuiz: D&C Complexity
Why O(n log n)
Check Your Understanding
In D&C DP optimization, why is total time O(n^2 log n) instead of O(n^3)?
- A.Monotonicity allows skipping most split points
- B.Each recursion level partitions the search space, and total split points per level is O(n)
- C.Binary search finds optimal split in O(log n)
- D.We use memoization to avoid recomputation