Binary Search Trees
Loading...
21,981
Uploader Comments (travelschlepp)
Top Comments
-
Nice cat picture
see all
All Comments (7)
-
thanks for not filling this video up with nonsense, like most video makers. you went straight to the point, and you get a thumbs up for it
-
i like it
-
Can anyone actually see the letters?, good explanation however
-
Very well explained but is there a follow-up on this from where we leave this e.g. What is the advantage of right shift or left shift - how does it help in any practical application?
-
thank you so much
tomorrow i have midterm about bst
Loading...
Alas, the CSF has closed down, so this class is no longer taught. However, to answer your question, rotations have the effect of shifting nodes from one side of a tree or subtree to the other. That allows us to keep all branches more or less equal (within a factor of 2). Otherwise we risk O(n^2) behavior if the tree is unbalanced.
travelschlepp 2 years ago 2