Useful resources

The library tryalgo

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

It is available on PyPI :

pip install tryalgo

Several options:

Our book

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


Other books

There are tons of books on algorithms. Most of them don’t cover all the topics a well trained competitive programmer should learn, and many do not talk about implementation at all. Here is a personal selection among freely available books.

Useful wikis

Problems by categories

GitHub repos of codes