Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.57 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.57 KB

Build Status PyPI

tryalgo

Basic and advanced algorithms and data structures
By Christoph Dürr and Jill-Jênn Vie.

Install

PyPI

pip install tryalgo

Additional information

Usage

Dynamic programming some example with coin change:

from tryalgo import coin_change

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

Des chiffres et des lettres (that inspired Countdown)

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

Found a bug?

Please drop an issue!

Authors

© Christoph Dürr and Jill-Jênn Vie (vie@jill-jenn.net).
Released under the MIT License.

Contributors include:

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