{"id":21667856,"url":"https://github.com/jilljenn/tryalgo","last_synced_at":"2025-05-16T18:06:15.324Z","repository":{"id":54837389,"uuid":"50119000","full_name":"jilljenn/tryalgo","owner":"jilljenn","description":"Algorithms and data structures for preparing programming competitions: basic and advanced","archived":false,"fork":false,"pushed_at":"2025-03-26T14:07:47.000Z","size":4560,"stargazers_count":378,"open_issues_count":9,"forks_count":105,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-16T18:05:20.629Z","etag":null,"topics":["acm-icpc","algorithms","algorithms-and-data-structures","interview-questions","python"],"latest_commit_sha":null,"homepage":"https://tryalgo.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jilljenn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-01-21T16:05:54.000Z","updated_at":"2025-04-30T15:17:22.000Z","dependencies_parsed_at":"2023-12-29T04:15:54.441Z","dependency_job_id":"cc8af48e-7e94-4adf-9108-f14f05a39f24","html_url":"https://github.com/jilljenn/tryalgo","commit_stats":{"total_commits":310,"total_committers":16,"mean_commits":19.375,"dds":"0.46451612903225803","last_synced_commit":"87d5389a69fcfa4835babd91ec6fcf526c2b6262"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilljenn%2Ftryalgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilljenn%2Ftryalgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilljenn%2Ftryalgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jilljenn%2Ftryalgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jilljenn","download_url":"https://codeload.github.com/jilljenn/tryalgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582904,"owners_count":22095518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acm-icpc","algorithms","algorithms-and-data-structures","interview-questions","python"],"created_at":"2024-11-25T11:47:41.354Z","updated_at":"2025-05-16T18:06:15.308Z","avatar_url":"https://github.com/jilljenn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/tryalgo.svg)](https://pypi.python.org/pypi/tryalgo/)\n[![PyPI](https://img.shields.io/pypi/pyversions/tryalgo.svg)](https://pypi.python.org/pypi/tryalgo/)\n![Pylint score](https://mperlet.github.io/pybadge/badges/10.svg)\n[![Codecov](https://img.shields.io/codecov/c/github/jilljenn/tryalgo.svg)](https://codecov.io/gh/jilljenn/tryalgo/)\n\n# Algorithmic Problem Solving\n\nAlgorithms and data structures for preparing programming competitions (e.g. ICPC, [see more](https://tryalgo.org/contests/)) and coding interviews.  \nBy Christoph Dürr and Jill-Jênn Vie.\n\n[Our book](https://tryalgo.org/book) is available in French, English, Simplified and Traditional Chinese.\n\n## Install\n\n    pip install tryalgo\n\n## Documentation\n\n- [Documentation](http://jilljenn.github.io/tryalgo/) of tryalgo 1.4\n- [Blog tryalgo.org](http://tryalgo.org) in French and English\n\n## Demo: [TryAlgo in Paris](http://nbviewer.jupyter.org/github/jilljenn/tryalgo/blob/master/examples/TryAlgo%20Maps%20in%20Paris.ipynb)\n\nShortest paths on the graph of Paris.\n\nTo run it yourself:\n\n    pip install -r examples/requirements.txt\n\tjupyter notebook  # Then go to examples folder\n\n\u003ca href=\"http://nbviewer.jupyter.org/github/jilljenn/tryalgo/blob/master/examples/TryAlgo%20Maps%20in%20Paris.ipynb\"\u003e\u003cimg src=\"http://tryalgo.org/static/paris.png\" /\u003e\u003c/a\u003e\n\n## Usage\n\n**Dynamic programming** some example with coin change:\n\n```python\nfrom tryalgo import coin_change\n\nprint(coin_change([3, 5, 11], 29))  # True because 29 = 6 x 3 + 0 x 5 + 1 x 11\n```\n\n***Des chiffres et des lettres*** (that inspired *Countdown*)\n\n```python\nfrom tryalgo.arithm_expr_target import arithm_expr_target\n\narithm_expr_target([25, 50, 75, 100, 3, 6], 952)\n```\n\nReturns `'((((75*3)*(100+6))-50)/25)=952'`.\n\n## Tests\n\nAll algorithms are thoroughly tested. These tests can be used to [practice your programming skills](https://tryalgo.org/en/miscellaneous/2019/08/10/how-to-practice-algorithms-with-tryalgo/)!\n\n```python\npython -m unittest\n```\n\nMost snippets from the book are within 76 columns (French version) or 75 columns (English version).\n\nOur code is checked. Using optional requirements, you can check it too:\n\n    pip install pycodestyle pylint\n    make pycodestyle  # PEP8\n\tmake pylint\n\n## Found a bug?\n\nPlease [drop an issue](https://github.com/jilljenn/tryalgo/issues).\n\n## Authors\n\n© 2016–2023, Christoph Dürr and Jill-Jênn Vie (vie@jill-jenn.net).  \nReleased under the MIT License.\n\n## Contributors\n\nThanks!\n\n- Louis Abraham\n- Lilian Besson\n- Xavier Carcelle\n- Stéphane Henriot\n- Ryan Lahfa\n- Olivier Marty\n- Samuel Tardieu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjilljenn%2Ftryalgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjilljenn%2Ftryalgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjilljenn%2Ftryalgo/lists"}