Brute Force

This lesson gives a gentle introduction to the Brute Force paradigm using Linear Search in an unsorted array.

We'll cover the following...

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 are meaning to solve. For instance, if we have an array of integers and we want to find the minimum, maximum, or a certain ...