Skip to content

Glossary: Coding Interviews in C++

Brute-force checker

Also written: checker, random comparison test

A slow but obviously correct function used to test a fast one by comparing both on many random inputs. It finds bugs in cases you would not think to try by hand.

Where the book teaches it

Related terms

Seedstd::mt19937std::functionEdge case