Data Structures19 sections · 729 units
Open in CourseQuiz: Persistent Data Structures
Test your understanding
Persistent Structures Concepts
Why does path copying create only O(log n) new nodes per update in a balanced tree?
- A.Because updates only affect leaf nodes
- B.Because the tree has O(log n) total nodes
- C.Because only nodes on the path from root to the updated node need new copies; other subtrees are shared
- D.Because old nodes are deleted after copying