Skip to content
Related Articles

Related Articles

Data Structures | Balanced Binary Search Trees | Question 12

Improve Article
Save Article
  • Last Updated : 28 Jun, 2021
Improve Article
Save 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
Related Articles

Start Your Coding Journey Now!