Ask Question

When we insert a new node into a red-black tree, we set the color of the newly inserted node n to red. observe that if we had chosen to set n's color to black, then property 4 of a red-black tree would not be violated. why didn't we choose to set n's color to black?

+2
Answers (1)
  1. 14 March, 04:43
    0
    Cause u didnt want to
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “When we insert a new node into a red-black tree, we set the color of the newly inserted node n to red. observe that if we had chosen to set ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers