Similar questions 4 more → · asked again: GATE 2015 Set 2, Q23, GATE 1995, Q1.17
Tree Properties & Traversals

Answer & solution
Official answer: 199
1. Let n0,n1,n2 count nodes with zero, one and two children. Every non-root node contributes one incoming edge, so E=n0+n1+n2−1. Counting edges from parents instead gives E=n1+2n2; subtracting cancels n1 and yields the result without assuming a full binary tree.
2. Counting tree edges gives n1+2n2=n0+n1+n2−1. Hence the number with two children is n2=n0−1=200−1=199.