{{ message }}

# jilljenn / tryalgo

Algorithms and data structures for preparing programming competitions: basic and advanced

## Files

Failed to load latest commit information.
Type
Name
Commit time
Nov 20, 2020
Dec 3, 2019
Nov 20, 2020
Nov 20, 2020
Dec 6, 2016
Jan 4, 2020
Mar 20, 2019
Jan 21, 2016
Nov 20, 2020
Nov 20, 2020
Jan 4, 2020
Jan 1, 2020
Jan 1, 2020
Jan 1, 2020

# Algorithmic Problem Solving

Algorithms and data structures for preparing programming competitions (e.g. ACM-ICPC, see more) and coding interviews.
By Christoph Dürr and Jill-Jênn Vie.

Our book is available in French, Simplified and Traditional Chinese. Soon in English.

## Install

``````pip install tryalgo
``````

## Demo: TryAlgo in Paris

Shortest paths on the graph of Paris.

To run it yourself:

``````pip install -r examples/requirements.txt
jupyter notebook  # Then go to examples folder
``````

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

## Tests

All algorithms are thoroughly tested. These tests can be used to practice your programming skills!

`python -m unittest`

Most snippets from the book are within 76 columns (French version) or 75 columns (English version, to be released soon).

Our code is checked:

``````make pycodestyle  # PEP8
make pylint
``````

## Authors

© 2016–2020, Christoph Dürr and Jill-Jênn Vie (vie@jill-jenn.net).

## Contributors

Thanks!

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

Algorithms and data structures for preparing programming competitions: basic and advanced

1.2 Latest
Dec 1, 2016

## Packages 0

No packages published

+ 6

## Languages

You can’t perform that action at this time.