Basic and advanced algorithms and data structures
Switch branches/tags
Nothing to show
Clone or download

Build Status PyPI


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



pip install tryalgo

Additional information

Demo: TryAlgo in Paris


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!


© Christoph Dürr and Jill-Jênn Vie (
Released under the MIT License.

Contributors include:

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