Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.9k
Algorithm and data structure articles forhttps://cp-algorithms.com (based onhttp://e-maxx.ru)
License
cp-algorithms/cp-algorithms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The goal of this project is to translate the wonderful resourcehttps://e-maxx.ru/algo which provides descriptions of many algorithmsand data structures especially popular in field of competitive programming.Moreover we want to improve the collected knowledge by extending the articlesand adding new articles to the collection.
We're an ad-free, volunteer-run website that's free for everyone. Users can contribute articles or help sponsor bounties on articles for greater algorithmic coverage. Your help is greatly appreciated.
Compiled pages are published athttps://cp-algorithms.com/.
- August, 2025: Overhaul of CP-Algorithmsdonation system. Please consider supporting us, so that we can grow!
- August, 2025: Launched aDiscord server!
- October, 2024: Welcome new maintainers:jxu,mhayter andkostero!
- October, 15, 2024: GitHub pages based mirror is now served athttps://gh.cp-algorithms.com/, and an auxiliary competitive programming library is available athttps://lib.cp-algorithms.com/.
- July 16, 2024: Major overhaul of theFinding strongly connected components / Building condensation graph article.
- June 26, 2023: Added automatic RSS feeds fornew articles andupdates in articles.
- December 20, 2022: The repository name and the owning organizations were renamed! Now the repo is located athttps://github.com/cp-algorithms/cp-algorithms. It is recommended to update the upstream link in your local repositories, if you have any.
- October 31, 2022: It is now possible to select and copy
$\LaTeX$ source code of formulas within the articles. - June 8, 2022: Tags are enabled. Each article is now marked whether it is translated or original, overall tag info is present in thetag index. For translated articles, clicking on
From: X
tag would lead to the original article. - June 7, 2022: Date of last commit and author list with contribution percentage is tracked for each page.
- June 5, 2022: Enabled content tabs and sidebar navigation. The navigation is moved to aseparate page and its structure should be adjusted innavigation.md whenever a new article is created or an old one is moved.
- January 16, 2022: Switched to theMkDocs site generator with theMaterial for MkDocs theme, which give the website a more modern look, brings a couple of new features (dark mode, better search, ...), makes the website more stable (in terms of rendering math formulas), and makes it easier to contribute.
- (19 August 2025)Minimum Enclosing Circle
- (21 May 2025)Simulated Annealing
- (12 July 2024)Manhattan distance
- (8 June 2024)Knapsack Problem
- (28 January 2024)Introduction to Dynamic Programming
- (8 December 2023)Hungarian Algorithm
- (10 September 2023)Tortoise and Hare Algorithm
- (12 July 2023)Finding faces of a planar graph
- (18 April 2023)Bit manipulation
- (17 October 2022)Binary Search
- (17 October 2022)MEX (Minimum Excluded element in an array)
- (12 May 2022)Factoring Exponentiation
- (7 May 2022)Knuth's Optimization
- (31 March 2022)Continued fractions
Full list of updates:Commit History
Full list of articles:Navigation
About
Algorithm and data structure articles forhttps://cp-algorithms.com (based onhttp://e-maxx.ru)
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.