size_t numFullNodes () that takes no arguments and returns the number of full nodes in the tree (i.e., number of nodes w
Posted: Fri May 20, 2022 5:56 pm
size_t numFullNodes () that takes no arguments and returns the number of full nodes in the tree (i.e., number of nodes with exactly two children). For example, the function should return 2 for the following tree (because of the two full nodes: 47 and 55). 47 46 55 53 58 51 57