Linear Search in Java

Channel:
Subscribers:
1,550
Published on ● Video Link: https://www.youtube.com/watch?v=6KMm-_05r1k



Duration: 3:38
29 views
3


Linear Search in Java

In this tutorial, I have shown how to write a Java program to implement the linear search algorithm.

Linear Search is one of the simplest search algorithms. It starts its search from the beginning of the list and continues as long as the searched element is not found or the list is not exhausted.

Linear Search can be applied on both sorted and unsorted lists. But it is slow and inefficient for large input size (large lists).







Tags:
robin sir
linear search
java
icse
computer applications