Question: C++ Write a public member function findHeight for a BinaryTree class that will find the height of a binary tree. If this functions calls any
C++
Write a public member function findHeight for a BinaryTree class that will find the height of a binary tree. If this functions calls any other function, you must write the code for that function as well. Note that the class BinaryTree has a private member variable root which is a Node pointer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
