This repository is a collection of programming questions from Cracking the Coding Interview 6th Edition. The questions, solutions, and test suites are written in both Ruby and JavaScript with rspec and mocha as the testing environments respectively.
- Navigate to the
javascript
directory npm install
Test suite is bound to test
command so all that is needed is to run:
npm test
To run a single test:
npm test <path_to_test>
- Navigate to the
ruby
directory bundle install
- Run test suite through rspec