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

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

GETTING STARTED

  1. Fork or clone this repository to your local machine

  2. For Go challenges:

    • Ensure you have the required version of Golang installed (see this repository's go.mod file)
    • Run the command make test-go to run all Go tests
  3. For JavaScript challenges:

    • Ensure installation of bun before doing dependency installation
    • Run pnpm i to install all dependencies
    • Run make test-js, pnpm test <file name>, or pnpm test <file name> --watch to run JS tests
  4. For Python challenges:

    • Ensure correct version of Python is installed (see .python-version)
    • Run make test-py to run all Python tests in the repository

ACKNOWLEDGEMENTS

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

About

Completed code challenges

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published