Skip to content

nwthomas/code-challenges

CODE CHALLENGES 👨🏻‍💻

PURPOSE

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.

TABLE OF CONTENTS

BUILT WITH

  • 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.

GETTING STARTED

  1. Fork or clone this repository to your local machine

  2. 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
  3. For Python challenges:

    • Open your terminal and install dependencies via poetry install
    • Start a shell environment by running either poetry shell
    • Run tests locally by identifying the subdirectory you want to run and using the command PYTHONPATH=$(pwd) poetry run python ./src/path/to/the/test_file.py to run it
  4. Modify some of the code in a test file to watch the magic happen

AUTHORS

ACKNOWLEDGEMENTS

  • Thanks to Frank Faustino for inspiring me to create my own completed code challenges repository.

About

My completed code challenges ✅

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •