answersLogoWhite

0

1)in linear search it needs more space and time complexity.

2) in linear search if the key element is the last element and the search is from first element that is a worst case, or if the key element is the first element and the search is from last element then also is the worst case.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What are the advantages of communication models?

advantages and disadvantages of linear model communication


What are the advantages and disadvantages of linear navigation design for a website?

basically linear is easier than iterativ


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).


What are advantage of linear searching?

There no advantages to linear search other than searching for the first (or last) nodes. Linear search takes linear time with an average O(n/2) for each search.


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 linear motion?

Advantages of linear motion include simplicity, precision, and ease of control. Disadvantages may include limited speed compared to rotary motion, higher friction and wear on components, and potential for misalignment.


What are the advantages and disadvantages of hybrid search engines?

paul and anj


What are the advantages and disadvantages of DIAGRAMMING?

ADVANTAGES Shows relationship between two variables best method to illustrate a non-linear pattern.


What are the advantages and disadvantages of scatter diagram?

ADVANTAGES Shows relationship between two variables best method to illustrate a non-linear pattern.


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


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.