Computer Science, asked by Catalinad9552, 1 year ago

What do you mean by complexity of search algorithm?

Answers

Answered by jeehelper
0

Complexity of a search algorithm is defined as the required space or time for a search algorithm to analyze an input of let's say size 'a'.


What affects the complexity of a search algorithm is mainly dependent on:


1) the agility of the hardware used

2) compiler's efficiency level

3) skill level of implementer

4) the complexity of the underlying algorithm

5) and of course: the size of the input



Answered by smartbrainz
0

Complexity of search algorithm:

  • Algorithm complexity is a metric that determines the order of the number of operations executed by a given or an algorithm based on the 'size of the input data'.
  • To make it easier, 'complexity is a rough estimation' of the number of steps needed to 'execute an algorithm'.
  • Three forms of complexity could be considered when evaluating the output of the algorithm. They are classified as worst-case complexity, best-case complexity, and average-case complexity.

To know more

Binary search algorithm can be best described as what

https://brainly.in/question/7340022

Write recursive binary search algorithm and compare its run time complexity with the non recursive binary search algorithm. Solve the recurrence T() = 2T (/2) + ≥2  = 1 n<2

https://brainly.in/question/12416445

Similar questions