void f5() - How many leaf nodes are there in the BST? The expected output in the file f5.txt should be the following: (line 1: in-order traversal, line 2: the amount of leaf nodes)(H,2,6) (Q,3,1) (D,4,3) (B,6,-4) (M,7,9) (X,8,7) (G,9,-6)
3
Zoom
100%
Close