Discussion on Scapegoat Trees
Explore the concept of Scapegoat Trees and understand their approach to maintaining balance in search trees. This lesson covers their origins, structural characteristics, and how they differ in performance from other balanced trees. You will gain insights into why Scapegoat Trees may be slower due to their restructuring method and identify scenarios where their rebuilding process is advantageous, especially when updating complex node data.
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 height bound of
...