1.

We Apply Binary Search Algorithm To A Sorted Linked List, Why?

Answer»

No we cannot apply binary search algorithm to a sorted LINKED LIST, SINCE there is no way of indexing the middle ELEMENT in the list. This is the drawback in using linked list as a data structure.

No we cannot apply binary search algorithm to a sorted linked list, since there is no way of indexing the middle element in the list. This is the drawback in using linked list as a data structure.



Discussion

No Comment Found