2-3 Tree

preview_player
Показать описание
AVL Tree:

Red Black Tree

In binary search trees we have seen the average-case time for operations like search/insert/delete is O(log N) and the worst-case time is O(N) where N is the number of nodes in the tree.

Like other Trees include AVL trees, Red Black Tree, B tree, 2-3 Tree is also a height balanced tree.

The time complexity of search/insert/delete is O(log N) .

A 2-3 tree is a B-tree of order 3.

Properties of 2-3 tree:

Nodes with two children are called 2-nodes. The 2-nodes have one data value and two children
Nodes with three children are called 3-nodes. The 3-nodes have two data values and three children.
Data is stored in sorted order.
It is a balanced tree.
All the leaf nodes are at same level.
Each node can either be leaf, 2 node, or 3 node.
Always insertion is done at leaf.
Рекомендации по теме
Комментарии
Автор

straight forward, simple and clear! Thank you!

vt_blurry
Автор

Excellent explanation. Clear voice and clear steps. Highly recommended.

soul
Автор

Thank you! Finally a great explanation of all the possible scenarios

RB-ejwk
Автор

Perfect video. Exactly what I needed for my midterm tomorrow. Thank you so much!

barackobama
Автор

Thanks to your video, the topic is clear now. Thank you so much!

tikava