ELI5: Explain Like I'm 5

Brute-force search

Brute-force search is a way to solve a problem by trying every possible solution until you find the right one. It's like trying every key on your keychain until you find the one that unlocks your front door.

Let's say you have a puzzle with a thousand pieces and you want to put it together. One way to do it is to start with the first piece and try every other piece until you find the one that fits. Then you move on to the next piece and do the same thing until you've put the whole puzzle together.

Brute-force search is often used in computer programming to crack passwords or find the optimal solution for a problem. It's not always the most efficient way to solve a problem, but it guarantees that you will find a solution eventually, as long as one exists.

In summary, brute-force search is a method of solving a problem by trying every possible solution until you find the right one. It's like trying every key on your keychain until you find the one that unlocks your door. It can be time-consuming, but it's a reliable way to find a solution.