Skip to content
forked from jilljenn/tryalgo

Basic and advanced algorithms and data structures

License

Notifications You must be signed in to change notification settings

xcarcelle/tryalgo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Basic and advanced algorithms and data structures

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%