Skip to content
Cracking the Coding Interview 6th Ed. PHP Solutions
Branch: master
Clone or download
asaph Replace solution to question 2.4 with a more elegant one.
The previous solution had a bug which was pointed out in
#3
Latest commit e1fa34f Mar 11, 2017

README.md

PHP Solutions to Cracking The Coding Interview 6th Ed.

Build Status

Dependencies: PHPUnit, which can be installed either standalone or via Composer (composer.json supplied).

Running Unit Tests

Using PHPUnit installed via Composer (recommended)

First install PHPUnit (you only need to do this once)

composer install

Then you can run the unit tests using the PHPUnit that composer installed

./vendor/bin/phpunit test

Using Standalone PHPUnit

Assuming the phpunit binary is in your user's path, simply run

phpunit test
You can’t perform that action at this time.