Question: A full binary tree is a binary tree with the leaves on the same level. Add a method in the BST class to return true
A full binary tree is a binary tree with the leaves on the same level. Add a method in the BST class to return true if the tree is a full binary tree.
/** Returns true if the tree is a full binary tree */ boolean isFullBST()
Step by Step Solution
3.23 Rating (158 Votes )
There are 3 Steps involved in it
Program Plan Create isFullBST method so that returns true if the tree is full binary ... View full answer
Get step-by-step solutions from verified subject matter experts
