Question 5661 – Data-Structures
November 23, 2023NTA UGC NET JUNE-2023 Paper-2
November 23, 2023Question 5761 – Data-Structures
Which of the following can be the sequence of nodes examined in binary search tree while searching for key 88 ?
Correct Answer: C
Question 488 Explanation:
Binary search tree will follow some rules
1. Left subtree is smaller than his root node
2. Right subtree is greater than or equal to his root
Based on above rules, the search operation will perform
Note: The sequence of searching should be continuous.
1. Left subtree is smaller than his root node
2. Right subtree is greater than or equal to his root
Based on above rules, the search operation will perform
Note: The sequence of searching should be continuous.
90, 40, 65, 50, 88
90, 110, 80, 85, 88
190, 60, 90, 85, 88
65, 140, 80, 70, 88
Subscribe
Login
0 Comments