All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2018

A binary search tree is constructed by inserting the following numbers in order : 60,25,72,15,30,68,101,13,18,47,70,34 The number of nodes in the left subtree is

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. 7

Explanation

Root is 60; everything smaller goes left: 25, 15, 30, 13, 18, 47, 34 = 7 nodes.

More Data Structures and Algorithms questions