Showing posts with label Binary Search Tree. Show all posts
Showing posts with label Binary Search Tree. Show all posts
Count number of leaf nodes in a binary tree
Write a program to count the number of leaf nodes in a binary tree . For example if we have the following tree then it must return 3(as it ...
Posted by Admin on
Count the number of nodes in a binary search tree
Que :-Write a program to count the number of nodes in a binary tree. For example if we have the following tree , then it must return 5. ...
Posted by Admin on
Level Order Traversal of binary search tree
Que : Write a program to print the node of tree level wise(one level at a time) . For example if we have the following tree then the output...
Posted by Admin on
Binary Tree Brush Up and Program
Binary Tree Binary Tree is a tree if each node of it can have at most two branches .Each node o f binary tree may have zero ,one or two ch...
Posted by Admin on
Subscribe to:
Posts (Atom)