Discussion on Scapegoat Trees
Explore how Scapegoat Trees maintain balance and analyze their efficiency compared to other data structures. Learn about their unique rebuilding mechanisms, performance trade-offs, and scenarios where they provide advantages, especially when nodes hold additional data requiring partial rebuilding for updates.
We'll cover the following...
Additional notes
The term scapegoat tree is due to
Experimenting with the ScapegoatTree implementation will reveal that it is often considerably slower than the other SSet implementations in this course. This may be somewhat surprising since the height bound of
...