Glossary: Algorithms Beyond the Basics in JavaScript
Brute force
A solution that tries every possibility. It is slow but easy to get right, so it is a good first version and a way to check the answers of a faster one.
Glossary: Algorithms Beyond the Basics in JavaScript
A solution that tries every possibility. It is slow but easy to get right, so it is a good first version and a way to check the answers of a faster one.