Searching in arrays
There are two ways of searching in arrays
1. Linear Search - It searches for an element by comparing it with each element on by one. It is applied when the array is not sorted or unordered.
2. Binary Search - It is one of the fastest searching algorithm. It is applied when the array is sorted.
Linear Search