You cannot teach beginners top-down programming, because they do not know which end is up. C.A.R. Hoare

Check internal node of a BST has exactly one child

Language Java | Level Intermediate | Category Data structure | September 6, 2015 8:14 am

Data structure Description

Write a program to check the given binary search tree internal node has exactly node child or not.



All Binary Tree Values: 1  2  3  4  
The internal node has exactly one node



No comments available!

Please login to add comments.