InterviewSolution
Saved Bookmarks
| 1. |
What is the special property of red-black trees and what root should always be?(a) a color which is either red or black and root should always be black color only(b) height of the tree(c) pointer to next node(d) a color which is either green or blackI'm obligated to ask this question of Red Black Tree in chapter Binary Trees of Data Structures & Algorithms IThe question was asked in a job interview. |
|
Answer» Right option is (a) a COLOR which is either red or black and root should always be black color only |
|