GithubHelp home page GithubHelp logo

acrofrank / tryalgo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jilljenn/tryalgo

1.0 1.0 0.0 6.93 MB

Basic and advanced algorithms and data structures

Home Page: http://tryalgo.org

License: MIT License

Makefile 0.14% Python 99.86%

tryalgo's Introduction

Build Status PyPI PyPI

tryalgo

Basic and advanced algorithms and data structures for preparing programming competitions (e.g. ACM-ICPC) and coding interviews.
By Christoph Dürr and Jill-Jênn Vie.

Install

pip install tryalgo

Documentation

Demo: TryAlgo in Paris

Usage

Dynamic programming some example with coin change:

from tryalgo import coin_change

print(coin_change([3, 5, 11], 29))  # True because 29 = 6 x 3 + 0 x 5 + 1 x 11

Des chiffres et des lettres (that inspired Countdown)

from tryalgo.arithm_expr_target import arithm_expr_target

arithm_expr_target([25, 50, 75, 100, 3, 6], 952)

Returns '((((75*3)*(100+6))-50)/25)=952'.

Test

We prepared many tests. They can be used to practice your programming skills!

python -m unittest

Found a bug?

Please drop an issue.

Authors

© 2016–2018, Christoph Dürr and Jill-Jênn Vie ([email protected]).
Released under the MIT License.

Contributors

Thanks!

  • Louis Abraham
  • Lilian Besson
  • Stéphane Henriot
  • Ryan Lahfa
  • Olivier Marty
  • Samuel Tardieu

tryalgo's People

Contributors

jilljenn avatar louisabraham avatar naereen avatar oliviermarty avatar raitobezarius avatar samueltardieu avatar shloub avatar xcarcelle avatar xtof-durr avatar

Stargazers

 avatar

Watchers

 avatar

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.