A binary tree node can have at most how many children?

A. 1
B. 2
C. 3
D. Unlimited
Correct Answer: B. 2

Correct answer: 2. In a binary tree, each node can have at most two children (left and right).

Background: The two children are called the left child and the right child.

  • 1: A node can have up to two children, not just one.
  • 3: Three children would make it a ternary tree.
  • Unlimited: Unlimited children belong to a general tree.

Did you know? Binary search trees use this structure for fast searching.

Memory trick: Binary = 2.

0 comments

Leave a Reply