answersLogoWhite

0

the major limitation of binary search is that there is a need of sorted array to perform binary search operation.

if array is not sorted the output is either not correct or may be after a long number of steps and according to data structure the output should come in minimum number of steps.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the disadvantages of Fibonacci search?

There are a few disadvantages of the Fibonacci search: It can be slower than other search algorithms if the data is not sorted. It can be less accurate than other search algorithms if the data is not sorted. It can be more difficult to implement than other search algorithms.


What are the advantages and disadvantages of searching in C programming?

If the data is sorted and every element is directly accessible, then you can perform binary search (see built-in function bsearch), otherwise you have to do linear search (which is slower).


Describe the sequential and binary search develop the algorithms for the same?

both seach has different algorithem but the complexity will be same...


Advantages and disadvantages of banking system?

there are many advantages and disadvantages so i do not have time to tell you search anywhere else OHK?


What are the advantages and disadvantages of hybrid search engines?

paul and anj


How can one ensure the efficient balancing of a binary search tree?

To ensure efficient balancing of a binary search tree, one can use self-balancing algorithms like AVL trees or Red-Black trees. These algorithms automatically adjust the tree structure during insertions and deletions to maintain balance, which helps in achieving optimal search and insertion times.


What is the advantages and disadvantages about search engines?

The advantages of search engines are that they give information required by a person. The disadvantage is that it cannot see or feel that for what is that information required.


What are the disadvantages and advantages of using blekko search engine?

blekko merits and demerits


Advantages and disadvantages of binary search tree?

Advantages:BST is fast in insertion and deletion etc when balanced.Very efficient and its code is easier than link lists.Disadvantages:Shape of the tree depends upon order of insertion and it can be degenerated.Searching takes long time.


What are some examples of efficient algorithms used in data processing and analysis?

Some examples of efficient algorithms used in data processing and analysis include sorting algorithms like quicksort and mergesort, searching algorithms like binary search, and machine learning algorithms like k-means clustering and decision trees. These algorithms help process and analyze large amounts of data quickly and accurately.


What are the advantages and disadvantages of using bidirectional A search algorithm in pathfinding?

Advantages of using bidirectional A search algorithm in pathfinding include faster search times and more efficient use of resources. Disadvantages may include increased complexity in implementation and potential for higher memory usage.


What are the advantages and disadvantages of business to an individual?

try these search results http://www.google.com/search?q=advantages+and+disadvantages+to+sole+proprietorship&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a