Skip to content

Glossary: Coding Interviews in C++

Brute force

Also written: brute-force

The simplest correct solution, which tries every possibility and is usually slow. You say it first, with its Big-O, so you have a working answer to improve.

Where the book teaches it

Related terms

BottleneckBrute-force checkerBig-O