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.
- Codewars
- Daily Coding Problem
- HackerRank
- Interview Cake
- Lambda School
- LeetCode
- Miscellaneous Code Challenges
- Exponent Interviews
- Aside from a few one-off solutions, the code challenges in this repository use Golang, JavaScript, and Python
- The JavaScript tests are written with Facebook's Jest for unit testing, while Python uses its built-in unittest. Go tests are written using the standard library testing package.
-
Fork or clone this repository to your local machine
-
For Go challenges:
- Ensure you have the required version of Golang installed (see this repository's go.mod file)
- Run the command
make test-goto run all Go tests
-
For JavaScript challenges:
- Ensure installation of bun before doing dependency installation
- Run
pnpm ito install all dependencies - Run
make test-js,pnpm test <file name>, orpnpm test <file name> --watchto run JS tests
-
For Python challenges:
- Ensure correct version of Python is installed (see .python-version)
- Run
make test-pyto run all Python tests in the repository
- Thanks to Frank Faustino for inspiring me to create my own completed code challenges repository.