Skip to content

Commit cf91a4a

Browse files
committed
Add topics and resources for rotating binary search trees
1 parent 48aa1cd commit cf91a4a

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

ReadMe.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| 1 | Wednesday, April 25 | [Bit Manipulation] |
1212
| 2 | Monday, April 30 | [Tree Traversals] |
1313
| 3 | Wednesday, May 2 | [Priority Queues & Heaps] |
14-
| 4 | Monday, May 7 | *Rotating Binary Search Trees* |
14+
| 4 | Monday, May 7 | [Rotating Binary Search Trees] |
1515
| 5 | Wednesday, May 9 | *Tries & Multiple Key Search Trees* |
1616
| 6 | Monday, May 14 | *Graph Types & Representations* |
1717
| 7 | Wednesday, May 16 | *Graph Traversals & Components* |
@@ -29,3 +29,4 @@ Please follow [these instructions](Setup.md) exactly to set up your fork of this
2929
[Bit Manipulation]: topics/BitManipulation.md
3030
[Tree Traversals]: topics/BitManipulation.md#class-2-topics
3131
[Priority Queues & Heaps]: topics/Heaps.md
32+
[Rotating Binary Search Trees]: topics/RotatingTrees.md

topics/RotatingTrees.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Rotating Binary Search Trees
2+
3+
### Topics
4+
- [Self-balancing binary search trees] with [rotations]: [AVL tree], [splay tree]
5+
6+
### Resources
7+
- Review Make School's [binary search tree resources]
8+
- Read Vaidehi Joshi's [AVL tree article][BaseCS AVL tree] with beautiful drawings
9+
- Play with VisuAlgo's [interactive AVL tree visualization][VisuAlgo bst] to follow rotations step-by-step
10+
- Watch MIT's [AVL tree video lecture] to learn how maximum tree height is related to the golden ratio
11+
- Read Julia Geist's [AVL tree article] and [AVL tree slides] with animations and code samples
12+
- Play with USF's [interactive animations of AVL trees][USF AVL tree] and [splay trees][USF splay tree]
13+
14+
15+
[self-balancing binary search trees]: https://en.wikipedia.org/wiki/Self-balancing_binary_search_tree
16+
[rotations]: https://en.wikipedia.org/wiki/Tree_rotation
17+
[AVL tree]: https://en.wikipedia.org/wiki/AVL_tree
18+
[splay tree]: https://en.wikipedia.org/wiki/Splay_tree
19+
[red-black tree]: https://en.wikipedia.org/wiki/Red%E2%80%93black_tree
20+
21+
[binary search tree resources]: https://github.com/Product-College-Courses/CS-3-Core-Data-Structures/blob/master/Class9.md
22+
[BaseCS AVL tree]: https://medium.com/basecs/the-little-avl-tree-that-could-86a3cae410c7
23+
[AVL tree slides]: https://docs.google.com/presentation/d/1ZTq_DbxTpnnTMw5GvF4TNJZV7P0k1UGwmm40-SBgfM8/edit
24+
[AVL tree article]: https://medium.com/@julia.geist/c8cef61d3ea1
25+
[AVL tree video lecture]: https://www.youtube.com/watch?v=FNeL18KsWPc
26+
[VisuAlgo bst]: https://visualgo.net/bst
27+
[USF AVL tree]: https://www.cs.usfca.edu/~galles/visualization/AVLtree.html
28+
[USF splay tree]: https://www.cs.usfca.edu/~galles/visualization/SplayTree.html
29+
[USF red-black tree]: https://www.cs.usfca.edu/~galles/visualization/RedBlack.html

0 commit comments

Comments
 (0)