How many different binary trees can be formed using exactly 3 nodes?
- A 3
- B 4
- C 5
- D 6
Explanation
The number of binary trees with n nodes is the nth Catalan number; for n = 3 the Catalan number is 5.
How many different binary trees can be formed using exactly 3 nodes?
The number of binary trees with n nodes is the nth Catalan number; for n = 3 the Catalan number is 5.