Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Using the following valid Red Black Tree. Which rule is applied when deleting the node with Key '0009'?
Promote a RED child to the position of the deleted node and then re-color the promoted child to BLACK.
Promote a BLACK child to the position of the deleted node and then re-color the promoted child to RED.
Deleted Node Parent becomes a Double
Deleted Node becomes a “double black”, left (or Right) Rotation on Deleted Node Parent, re-color Deleted Node Parent to RED and then re-color deleted node sibling to BLACK.
Deleted Node becomes a “double black”, left (or Right) Rotation on Deleted Node Parent, re-color promoted RED nephew to BLACK and deleted node sibling to RED.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!