CSC 226 Lecture Notes - Lecture 9: Binary Search Tree

76 views1 pages

Document Summary

The height of a 2-3 is o(logn) A different representation of a 2-3 tree: if you had 3-node subtree, then the left key would be a red child to the left. All red links go to the left. No node will have two red links connected to it. The tree has a perfect height: every path from the root to a leaf has the same number of black links. All links to external nodes are black. Link to a new node is red-black. We show: for every red-black tree there is a 2-3 tree. Given a red-black tree t, we build a 2-3 tree t"

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents