Brute Force

This lesson gives a brief introduction to the brute force paradigm using linear search in an unsorted list.

Brute force method

Let’s start off our discussion on algorithms with the most straightforward and exhaustive option—the Brute Force approach to solving a problem. This method requires us to go through all the possibilities to find a solution to the problem we want to solve. For instance, if we have a list of integers and we want to find ...

Access this course and 1400+ top-rated courses and projects.