Skip to content

Glossary: Coding Interviews

Brute force

Also written: brute-force

The simplest correct solution, which tries every possibility. It is usually slow, but stating it first proves you can solve the problem and gives you something to improve.

Where the book teaches it

Related terms

BottleneckBrute-force checkerBig-O