This repository is a collection of completed code challenges, katas, whiteboarding question practice, and other assorted problems from a variety of places.
A good general place to start is this list of 14 techniques that are good to know for interviews.
- The code challenge solutions use JavaScript, Java, Python, and Solidity
- The JavaScript tests are written with Facebook's Jest for unit testing, while Python uses its built-in unittest. Java and Solidity tests are coming soon.
-
Fork or clone this repository to your local machine
-
For JavaScript challenges:
- Open your terminal and install Jest using
yarn global add jest
- Navigate to the parent directory and run Jest by entering the command
jest --watch
- Select which method of testing in
Jest
you want to use via the command line prompts
- Open your terminal and install Jest using
-
For Python challenges:
- Open your terminal and install dependencies via
pipenv install
- Start a shell environment by running either
pip shell
(or, if you have it installed, preferablypipenv shell
) - Navigate into any directory and run files using the
python3 <file name here>
command
- Open your terminal and install dependencies via
-
Modify some of the code in a test file to watch the magic happen
- Thanks to Frank Faustino for inspiring me to create my own completed code challenges repository.