Question 6
Which one of the following is a possible sequence of elements in root-to-leaf paths in a top-down fashion in a binary search tree?
50, 10, 36, 40, 31, 46
50, 90, 75, 88, 62, 68
45, 50, 49, 48, 44, 47
45, 50, 46, 49, 47, 48
Which one of the following is a possible sequence of elements in root-to-leaf paths in a top-down fashion in a binary search tree?
50, 10, 36, 40, 31, 46
50, 90, 75, 88, 62, 68
45, 50, 49, 48, 44, 47
45, 50, 46, 49, 47, 48
Correct answer
45, 50, 46, 49, 47, 48
Question 6 of 16 in the IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 term (IIT M DIPLOMA AN EXAM QDD2 4 Aug 2024). It carries 3 marks.