Can a red black tree be augmented with a field that gives the height o a node in
ID: 657151 • Letter: C
Question
Can a red black tree be augmented with a field that gives the height o a node in the tree without adversely affecting the lg(n) run time of insertiona nd deletion? Recall that insertion and deletion may require rotations which change the height of the node in the tree.
What about depth?
Could someone please answer these questios and possibly give me a diagram explaining why? I'm not very familiar with red black trees and this isn't a homework question. It's just review and I want to understand it.
Thank you so much for your time.
Explanation / Answer
Can a red black tree be augmented with a field that gives the height o a node in
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.