Q21
Consider a binary tree T that has 200 leaf nodes. Then, the number of nodes in T that have exactly two children are ____________.
Show answer without attempting
Answer: 199
GATE CS · Programming and Data Structures · 9 questions
9 Tree Data Structures questions from GATE CS papers (2015), each with the official answer key. Part of Programming and Data Structures. Answer any question right here and it is marked straight away, or practise them one at a time.
Answer: 199
Answer: B
Answer: D
Answer: A
Answer: A
Answer: B
| Array Index | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| Value | 40 | 30 | 20 | 10 | 15 | 16 | 17 | 8 | 4 |
Answer: B
Answer: A
Answer: 19
0/90 correct0 marks