Git Product home page Git Product logo

challenges's Introduction

Challenges

Code Health Codacy Badge Code Climate

My solutions to programming puzzles & challenges.

Each top-level directory corresponds to one site that has challenge problems, and each directory under that is my solution to a particular problem.

Disclaimer: These solutions were developed by me individually unless otherwise stated and are shared for education and curiosity. Please do not use them as your own. If you're working on the same problem, please do not view my answer until you've solved it on your own. If you're working on a related problem, it's generally okay to cite a solution to another problem as a reference.

Setup

mkvirtualenv --python=python3 challenges
pip install -r requirements_pinned.txt

Quickstart

Just browse for a problem of interest. Most can be run from the problem's directory with:

python solution.py

Alternatively, some problems (example) include a one-line bash script to run the solution with sample required input values:

./run.sh

All solutions are written in Python 3 unless otherwise stated.

Testing

Similary to run tests for a particular problem, cd into its directory, then run:

nose2

Many problems have tests included, but some older ones don't yet.

challenges's People

Contributors

tedmiston avatar

Watchers

 avatar

Forkers

machadoit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.