GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set2

GATE 2025 set2 · CS · MCQ · 1 mark · Programming and Data Structures › Trees

GATE 2025 set2 Computer Science and Information Technology question: Consider a binary tree T in which every node has either zero or two children. Let n 0 be…

Consider a binary tree in which every node has either zero or two children. Let be the number of nodes in .

Which ONE of the following is the number of nodes in that have exactly two children?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion