Upload
harding-mercer
View
12
Download
1
Embed Size (px)
DESCRIPTION
Example of Inserting into a red-black tree. 10,85,15,70,20,60,30,50,65,80,90,40,5,55. 10. 15. 15. 15. 85. 10. 85. 10. 85. 10. 70. 15. 70. 20. 85. 20. 30. 15. 15. 15. 15. 70. 10. 70. 10. 70. 10. 70. 10. 20. 60. 85. 20. 85. 30. 85. 30. 85. 50. 60. 20. 60. - PowerPoint PPT Presentation
Citation preview
Example of Inserting into a red-black tree
10,85,15,70,20,60,30,50,65,80,90,40,5,55
10
85
15
15
8510
15
8510
70
20
15
7010
20 85
15
7010
20 85
60
30
15
7010
30 85
6020
15
7010
30 85
6020
30
7015
60 852010
50
30
7015
60 852010
50 65 80 90
30
7015
60 852010
50 65 80 90
30
7015
60 852010
50 65 80 90
40 55
55
Add 35
30
7015
60 852010
50 65 80 90
40 55
5
30
6015
85
2010 50
65
80 90
40 555
70
35