Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Data Structures | Balanced Binary Search Trees | Question 12

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Is the following statement valid?

A Red-Black Tree which is also a perfect Binary Tree can have all black nodes
(A) Yes
(B) No


Answer: (A)

Explanation:

A perfect BST with all black nodes doesn’t violate any of the Red-Black tree properties.


Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads
Related Tutorials