Red Black Tree Deletion

  Рет қаралды 7,693

virtual-lab-experiments-iiith VLEAD-IIITH

virtual-lab-experiments-iiith VLEAD-IIITH

Күн бұрын

Пікірлер: 4
@stephenhowe4107
@stephenhowe4107 5 жыл бұрын
0:48 : This video is wrong straight away. Consider the case on the right. How can you have a parent that is red with a single black child? That immediately violates the black tree height for the red node. *A red node either has 0 black children or 2 black children* . *It cannot have 1 black child because to do so is a violation of black tree height* . In this case the left side has black height 1, the right side with no child has black height 0. If you add NULL black nodes all round, that means a left side with black height 2 and a right side with black height 1
@stephenhowe4107
@stephenhowe4107 4 жыл бұрын
0:18 How can v a RED node have a single black child node u? Path through v to the left child has +1 real black nodes. Path through v to the right child is 0 real black nodes. So the black path count differs. So this cannot be a Red Black Tree. All red nodes in Red Black Trees either have 0 black children or 2 black children. They cannot have 1 black child. Can a REd Black Tree have nodes with 1 child? Yes, but in every case they are a black node with a red child. No other colour combination is possible.
@balramSing366
@balramSing366 4 жыл бұрын
Yrr apna pic full screen pe ka rhe ho very irritating but nice explanation
@yas2657
@yas2657 Жыл бұрын
terrible
Red Black Trees 2 Example of building a tree
17:45
RobEdwards
Рет қаралды 105 М.
Wait for it 😂
00:32
ILYA BORZOV
Рет қаралды 6 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 10 МЛН
🎓Hurbad DIPLOMA Faahfaahinteeda 🎓
27:44
Hurbad Institute of Technology
Рет қаралды 92
Red-black tree deletion: steps + 10 examples
23:46
Alena Chang
Рет қаралды 10 М.
5.17 Red Black Tree Insertion | Insertion Algorithm | Data Structure Tutorials
27:41
Red-Black Trees
22:05
Algorithms Lab
Рет қаралды 22 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Red-black trees in 8 minutes - Deletions
8:13
Michael Sambol
Рет қаралды 103 М.
2-3-4 Trees
19:21
Sofia Lemons
Рет қаралды 10 М.
Red Black Tree Deletion
19:19
Vidiskiu Fortino K
Рет қаралды 34 М.
Simplest way understand Insertion of Data In Red Black Tree
17:16
Wait for it 😂
00:32
ILYA BORZOV
Рет қаралды 6 МЛН