Question: In a Red-Black tree, what property ensures that the tree remains balanced?
Options:
Correct Answer: No two red nodes can be adjacent
Solution:
In a Red-Black tree, no two red nodes can be adjacent, which helps maintain balance and ensures that the longest path from the root to a leaf is no more than twice as long as the shortest path.