Which one of the following property is correct for a red-black tree?

1
Every simple path from a node to a descendant leaf contains the same number of black nodes
2
If a node is red, then one children is red and another is black
3
If a node is red, then both its children are red
4
Every leaf node (sentinel node) is red

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation