A search algorithm is an algorithm that retrieves information stored within some data structure.
Below are the few common approaches to implement search algorithms :
The below example covers how the Linear and Binary Search works
| Add Items to Table(sorted) | ||||||
| Search | Linear Search | |||||
| Status | ||||||
| Runtime Complexity |
|