Searching Algorithms

The searching algorithms are used to find or search for one or more components in a dataset. These algorithms are used to locate components inside a given data structure.

Searching can be done in a sequential or non-sequential manner. If the data in the dataset is random, sequential searching is required. Other than that, we can employ a variety of approaches to lessen the complexity.

In this Section We are going to cover −

  • Linear/ Sequential Search

  • Binary Search

Last updated