Complete the sentence to describe a red-black tree property: Every node is either {{BLANK_1}} or black.
Every node is either [1] or black.
In a red-black tree, each node is colored either red or black. This coloring helps maintain balance.
Complete the sentence: The root of a red-black tree is always {{BLANK_1}}.
The root of a red-black tree is always [1].The root node of a red-black tree is always black to help maintain the tree's balanced properties.
Fix the error in the statement: 'No red node can have a {{BLANK_1}} child.'
No red node can have a [1] child.In red-black trees, red nodes cannot have red children to avoid consecutive red nodes.
Fill both blanks to complete the property: Every path from a node to its descendant {{BLANK_1}} nodes contains the same number of {{BLANK_2}} nodes.
Every path from a node to its descendant [1] nodes contains the same number of [2] nodes.
Every path from a node to its descendant leaf nodes contains the same number of black nodes, ensuring balanced black height.
Fill all three blanks to complete the property: All {{BLANK_1}} nodes are {{BLANK_2}}, and every path from a node to its descendant {{BLANK_3}} nodes has the same number of black nodes.
All [1] nodes are [2], and every path from a node to its descendant [3] nodes has the same number of black nodes.
All leaf nodes are black, and every path from a node to its descendant leaf nodes has the same number of black nodes, maintaining balance.