Implementations and tests for problems from Cracking the Coding Interview
First, copy the template file to make a new file:
$ cp template.js problems/newProblem.js
Once you've completed your solution and test cases, run the tests:
$ mocha problems/newProblem.js