Trivia ForgePlay free →

In a Red-Black tree, what color must the root always be?

Show answer

Black

This is one of the five essential Red-Black tree properties. If an operation turns the root red, it is immediately recolored black to maintain the tree's balance constraints.

Would you remember this in 6 months?

Trivia Forge uses spaced repetition so facts stick. Free, no signup needed.

Turn on Algorithms practice →

More Algorithms trivia

See all 83 →