Glossary term
What is brute force? Meaning for developers
The simplest correct solution, usually trying every possibility. It is slow, but it is a safe start that you then improve.
Learn it properly · DSALesson 11: How to Read a ProblemInput, output, constraints, examples and edge cases — and solving it by hand before writing any code.