Hello;
i have this Question and need your help, i do not know how to solve it;
Problem:
Write a member function called countNodeWithNoRchild that will return the number of nodes in a BT(binary Tree) does not have a right child. (Hint: a leaf node also does not have a right child)
i try to do it but the ways i followed are wrong , because there are some missing node not visited yet ..