Glossary: Coding Interviews in JavaScript
Brute-force checker
Also written: checker
A slow but obviously correct function that you compare with your fast one on many random inputs. It finds bugs your hand-picked tests miss.
Glossary: Coding Interviews in JavaScript
Also written: checker
A slow but obviously correct function that you compare with your fast one on many random inputs. It finds bugs your hand-picked tests miss.