CE205 Data Structures¶
Week-10¶
Advaced Tree Data Structures (Binary Search Tree, AVL Tree, B Trees and derivations,Red-Black trees, Splay Trees and Augmented Data Structures, van Emde Boas Trees, Binomial and Minimax Trees ) and Comparisons.¶
Download PDF,DOCX, SLIDE, PPTX
Outline¶
- Trees
- Binary Search Tree
- Search and Insertion
- Delete
- BST over Hash Table
- Construction and Conversions
- Check Smallest/Largest Element
Outline¶
- Trees
- Red Black Tree and Threaded Binary Tree
- AVL Trees
- B Trees
- Defitinion of B Trees
- Basic operations on B tree
- Deleting a key from a B tree
- 2 3 4 Trees
- 2 3 Trees
- B+ Trees
Outline¶
- Trees
- R Trees
- Red - Black Tree Datastructure
- Splay Tree Datastructure
- Augmenting Data Structures
- Dynamic order statistics
- How to augment a data structure
Outline¶
-
Trees
-
Interval trees
- van Emde Boas Trees
- Preliminary approaches
- A recursive structure
- The van Emde Boas tree
- Binomial Trees
- Comparison of Search Trees
- Minimax Tree
Binary Search Tree¶
- http://www.btechsmartclass.com/data_structures/binary-search-tree.html
- https://visualgo.net/en/bst?slide=1 (Select BINARY SEARCH TREE)
-
Search and Insertion
- Delete
BST over Hash Table¶
-
https://www.geeksforgeeks.org/advantages-of-bst-over-hash-table/?ref=lbp
-
Construction and Conversions
- Check Smallest/Largest Element
Red Black Tree and Threaded Binary Tree¶
AVL Trees¶
- http://www.btechsmartclass.com/data_structures/avl-trees.html
- https://visualgo.net/en/bst (Select AVL)
- https://www.cs.usfca.edu/~galles/visualization/AVLtree.html
B Trees¶
- http://www.btechsmartclass.com/data_structures/b-trees.html
- https://www.cs.usfca.edu/~galles/visualization/BTree.html
Defitinion of B Trees¶
Basic operations on B tree¶
- https://www.geeksforgeeks.org/insert-operation-in-b-tree/
- https://www.guru99.com/b-tree-example.html
Deleting a key from a B tree¶
2 3 4 Trees¶
2 3 Trees¶
B+ Trees¶
- https://www.geeksforgeeks.org/introduction-of-b-tree/
- https://www.cs.usfca.edu/~galles/visualization/BPlusTree.html
- https://www.geeksforgeeks.org/difference-between-b-tree-and-b-tree/?ref=rp
R Trees¶
Red - Black Tree Datastructure¶
- http://www.btechsmartclass.com/data_structures/red-black-trees.html
- https://www.geeksforgeeks.org/red-black-tree-set-1-introduction-2/?ref=rp
- https://www.geeksforgeeks.org/red-black-tree-set-2-insert/
- https://www.geeksforgeeks.org/red-black-tree-set-3-delete-2/
Splay Tree Datastructure¶
- http://www.btechsmartclass.com/data_structures/splay-trees.html
- https://www.geeksforgeeks.org/splay-tree-set-1-insert/?ref=rp
- https://www.geeksforgeeks.org/splay-tree-set-2-insert-delete/
- https://www.geeksforgeeks.org/splay-tree-set-3-delete/?ref=rp
Augmenting Data Structures¶
-
http://cs.bilkent.edu.tr/~ugur/teaching/cs502/material/cs502_2_ADS.pdf
-
http://staff.ustc.edu.cn/~csli/graduate/algorithms/book6/chap15.htm
Dynamic order statistics¶
How to augment a data structure¶
Interval trees¶
van Emde Boas Trees¶
- https://www.geeksforgeeks.org/van-emde-boas-tree-set-1-basics-and-construction/
-
https://web.stanford.edu/class/archive/cs/cs166/cs166.1146/lectures/14/Small14.pdf
-
Preliminary approaches
- A recursive structure
Binomial Trees¶
Comparison of Search Trees¶
Minimax Tree¶
\[ End-Of-Week-10 \]