Added: 3 years ago
From: travelschlepp
Views: 21,949
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • 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

  • Nice cat picture

  • Can anyone actually see the letters?, good explanation however

  • 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.

  • 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...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more