(Test full binary tree) 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. (Hint: The number of nodes in a full binary tree is 2depth - 1.)
belongs to book: Introduction to Java Programming, Comprehensive Version (10th Edition)|Y. Danial liang|10th edition| Chapter number:25| Question number:2
All Answers
total answers (1)
BST.java
Exercise_25_02.java
Tree.java
need an explanation for this answer? contact us directly to get an explanation for this answer