Question: In c++ Implement a node class for Binary Tree (BT). Each node should record its parent node, left and right child nodes. Manually construct a
In c++
Implement a node class for Binary Tree (BT). Each node should record its parent node, left and right child nodes. Manually construct a BT by following the below figure Implement countLeaf function that computes the # of leaves in the BT. 2. 3. 6. Implement lookup that finds whether a character passed in the Lookup function can be found in the BT or not. Implement a node class for Binary Tree (BT). Each node should record its parent node, left and right child nodes. Manually construct a BT by following the below figure Implement countLeaf function that computes the # of leaves in the BT. 2. 3. 6. Implement lookup that finds whether a character passed in the Lookup function can be found in the BT or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
