Teaching HPSC Lecturer (Technical) Mock Test 2024 Programming and Data Structure Binary Heap Binary Search Tree
Which of the following is/are true about the binary search algorithm?
I. It can be efficiently implemented on sorted array in ascending order.
II. It can be efficiently implemented on sorted array in descending order.
III. It can be efficiently implemented on unsorted array.
IV. It can be efficiently implemented on sorted linked list.1
Only I
2
Both I and II
3
I, II and IV
4
None of these
5
Question Not Attempted