Base case: A tree containing only 1 node is full and has (1+1)/2=1 leaves. Inductive step: If a full binary tree with 1<=r<=k nodes has (r+1)/2 leaves, then a full binary tree with k+1 nodes has (k+2)/2 leaves. Proof: Consider a full binary tree T with k+1 nodes, k>=1.
Show that a proper binary tree with n nodes has (n+1)/2 leaves.Base case: A tree containing only 1 node is proper and has (1+1)/2=1 leaves.
Inductive step: If a proper binary tree with _____________ nodes has __________ leaves, then a proper binary tree with _____________ nodes has ______________ leaves. Proof: Consider a proper binary tree T with k+1 nodes, k>=1.