Skip to main content Link Search Menu Expand Document (external link)

Algorithmic Problem Solving

This page in French

Latest posts

Code: the tryalgo library of 128+ algorithms

We collected implementations of various algorithms and data structures in a PyPI Python library.

pip install tryalgo

Book: Competitive Programming in Python

We published a book on competitive programming in Python, documenting most of the content of the library tryalgo. It appeared in several languages.

Problems

See our Jupyter notebook (in French): TryAlgo Maps in Paris

Here is a pseudocode in order to optimize your learning:

import tryalgo                 # import all you can eat

try:
    problem = read(statement)    # needs organisation
    algo = solve(problem)        # needs skills
    solution = implement(algo)   # needs experience
    answer = submit(solution)
    assert answer == "Accept"
except SubmissionError:
    learn_more()