Linear Search

Linear Search is a straightforward algorithm for finding a specific element in a list. It sequentially checks each element until the target is found or the list ends, making it simple and effective for unsorted data but inefficient for large datasets.

References

  • Cormen, T, Leiserson, C, Rivest, R, and Stein, C. (2001). Introduction to Algorithms. (2nd ed). The MIT Press.