Examveda

What is the key property of a Red-Black tree that helps in balancing the tree during insertions and deletions?

A. All nodes are red.

B. The tree is always perfectly balanced.

C. Every path from the root to a leaf has the same number of black nodes.

D. Nodes can only have two children.

Answer: Option C


Join The Discussion

Related Questions on Graph Algorithms (DFS, BFS, Dijkstras, etc)