Question
We apply binary search algorithm to a sorted linked list, why?

Answers

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.   Your Comment






Search
Can you Answer!!
  • Q Who will provide implementations of jndi?
  • Q Lakshadweep comes under the jurisdiction of____the high court.
  • Q In Boise Idaho where by law are you not allowed to fish
  • Q Bandwidth (b) of an am signal is given by?
  • Q What is the full form of NATO
  • Q Can we consider nature as natural in today's world?
  • Q What is meant by cloning? Describe the different types of vectors used for cloning?
  • Q What does “mass method” do?
  • Q Ms. Neelam deposits an amount of Rs. 16420 at simple interest and obtained 25451 at the end of 5 years. What was the rate of interest per year?
  • Q What are the stages of Datawarehousing?
  • Q How can you create a user-defined lock?