<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="rss.xsl"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Algorithms for Competitive Programming</title><description>The goal of this project is to translate the wonderful resource http://e-maxx.ru/algo which provides descriptions of many algorithms and data structures especially popular in field of competitive programming. Moreover we want to improve the collected knowledge by extending the articles and adding new articles to the collection.</description><link>https://cp-algorithms.com/</link><atom:link href="https://cp-algorithms.com/feed_rss_created.xml" rel="self" type="application/rss+xml" /><docs>https://github.com/cp-algorithms/cp-algorithms</docs><language>en</language><pubDate>Thu, 19 Nov 2026 13:55:38 +0000</pubDate><lastBuildDate>Thu, 19 Nov 2026 13:55:38 +0000</lastBuildDate><ttl>1440</ttl><generator>Zensical RSS</generator><item><title>Minimum cut - Stoer-Wagner algorithm</title><description>&lt;h1&gt;Minimum cut - Stoer-Wagner algorithm&lt;/h1&gt;
&lt;h2&gt;Problem statement&lt;/h2&gt;
&lt;p&gt;Given an undirected weighted graph $G$ with $n$ vertices and $m$ edges. A cut $C$ is a non-empt...&lt;/p&gt;</description><link>https://cp-algorithms.com/graph/stoer_wagner_mincut.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Wed, 10 Jun 2026 01:04:02 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/graph/stoer_wagner_mincut.html</guid></item><item><title>Centroid decomposition</title><description>&lt;h1&gt;Centroid Decomposition&lt;/h1&gt;
&lt;p&gt;Prerequisite knowledge: &lt;a href=&quot;./depth-first-search.md&quot;&gt;Depth First Search (DFS)&lt;/a&gt;, [Divide and Conquer](https://en.wikipedia.org/wiki/Div...&lt;/p&gt;</description><link>https://cp-algorithms.com/graph/centroid_decomposition.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Sat, 10 Jan 2026 20:28:42 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/graph/centroid_decomposition.html</guid></item><item><title>Minimum Enclosing Circle</title><description>&lt;h1&gt;Minimum Enclosing Circle&lt;/h1&gt;
&lt;p&gt;Consider the following problem:&lt;/p&gt;
&lt;p&gt;!!! example &quot;[Library Checker - Minimum Enclosing Circle](https://judge.yosupo.jp/problem/minimu...&lt;/p&gt;</description><link>https://cp-algorithms.com/geometry/enclosing-circle.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Tue, 19 Aug 2025 15:59:22 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/geometry/enclosing-circle.html</guid></item><item><title>Simulated Annealing</title><description>&lt;h1&gt;Simulated Annealing&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Simulated Annealing (SA)&lt;/strong&gt; is a randomized algorithm, which approximates the global optimum of a function. It&apos;s called a randomized ...&lt;/p&gt;</description><link>https://cp-algorithms.com/num_methods/simulated_annealing.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Fri, 18 Oct 2024 16:18:55 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/num_methods/simulated_annealing.html</guid></item><item><title>Knapsack Problem</title><description>&lt;h1&gt;Knapsack Problem&lt;/h1&gt;
&lt;p&gt;Prerequisite knowledge: &lt;a href=&quot;https://cp-algorithms.com/dynamic_programming/intro-to-dp.html&quot;&gt;Introduction to Dynamic Programming&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Introduc...&lt;/h2&gt;</description><link>https://cp-algorithms.com/dynamic_programming/knapsack.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Sat, 18 May 2024 06:20:41 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/dynamic_programming/knapsack.html</guid></item><item><title>Manhattan Distance</title><description>&lt;h1&gt;Manhattan Distance&lt;/h1&gt;
&lt;h2&gt;Definition&lt;/h2&gt;
&lt;p&gt;For points $p$ and $q$ on a plane, we can define the distance between them as the sum of the differences between their $...&lt;/p&gt;</description><link>https://cp-algorithms.com/geometry/manhattan-distance.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Thu, 16 May 2024 19:20:34 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/geometry/manhattan-distance.html</guid></item><item><title>Hungarian Algorithm</title><description>&lt;h1&gt;Hungarian algorithm for solving the assignment problem&lt;/h1&gt;
&lt;h2&gt;Statement of the assignment problem&lt;/h2&gt;
&lt;p&gt;There are several standard formulations of the assignment p...&lt;/p&gt;</description><link>https://cp-algorithms.com/graph/hungarian-algorithm.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Thu, 07 Dec 2023 23:50:44 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/graph/hungarian-algorithm.html</guid></item><item><title>Introduction to Dynamic Programming</title><description>&lt;h1&gt;Introduction to Dynamic Programming&lt;/h1&gt;
&lt;p&gt;The essence of dynamic programming is to avoid repeated calculation.  Often, dynamic programming problems are naturall...&lt;/p&gt;</description><link>https://cp-algorithms.com/dynamic_programming/intro-to-dp.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Wed, 29 Nov 2023 10:21:39 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/dynamic_programming/intro-to-dp.html</guid></item><item><title>Tortoise and Hare Algorithm (Linked List cycle detection)</title><description>&lt;h1&gt;Floyd&apos;s Linked List Cycle Finding Algorithm&lt;/h1&gt;
&lt;p&gt;Given a linked list where the starting point of that linked list is denoted by &lt;strong&gt;head&lt;/strong&gt;, and there may or may ...&lt;/p&gt;</description><link>https://cp-algorithms.com/others/tortoise_and_hare.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Fri, 01 Sep 2023 03:46:49 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/others/tortoise_and_hare.html</guid></item><item><title>Finding faces of a planar graph</title><description>&lt;h1&gt;Finding faces of a planar graph&lt;/h1&gt;
&lt;p&gt;Consider a graph $G$ with $n$ vertices and $m$ edges, which can be drawn on a plane in such a way that two edges intersect...&lt;/p&gt;</description><link>https://cp-algorithms.com/geometry/planar.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Wed, 12 Jul 2023 15:52:18 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/geometry/planar.html</guid></item><item><title>Bit manipulation</title><description>&lt;h1&gt;Bit manipulation&lt;/h1&gt;
&lt;h2&gt;Binary number&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;binary number&lt;/strong&gt; is a number expressed in the base-2 numeral system or binary numeral system, it is a method of math...&lt;/p&gt;</description><link>https://cp-algorithms.com/algebra/bit-manipulation.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Fri, 31 Mar 2023 02:53:20 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/algebra/bit-manipulation.html</guid></item><item><title>Garner&apos;s Algorithm</title><description>&lt;h1&gt;Garner&apos;s algorithm&lt;/h1&gt;
&lt;p&gt;A consequence of the &lt;a href=&quot;chinese-remainder-theorem.md&quot;&gt;Chinese Remainder Theorem&lt;/a&gt; is, that we can represent big numbers using an array of ...&lt;/p&gt;</description><link>https://cp-algorithms.com/algebra/garners-algorithm.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Sun, 29 Jan 2023 19:48:33 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/algebra/garners-algorithm.html</guid></item><item><title>Code of conduct</title><description>&lt;h1&gt;Code of conduct&lt;/h1&gt;
&lt;p&gt;We endorse and follow the code of conduct of the International Olympiad of Informatics, available at the [IOI website](https://ioinformati...&lt;/p&gt;</description><link>https://cp-algorithms.com/code_of_conduct.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Tue, 13 Dec 2022 14:13:16 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/code_of_conduct.html</guid></item><item><title>How to Contribute</title><description>&lt;h1&gt;How to Contribute&lt;/h1&gt;
&lt;p&gt;Anyone with a &lt;a href=&quot;https://github.com&quot;&gt;GitHub account&lt;/a&gt; can contribute. You can fix a typo, improve an article or add a new one. Send your ch...&lt;/p&gt;</description><link>https://cp-algorithms.com/contrib.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Tue, 13 Dec 2022 13:04:10 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/contrib.html</guid></item><item><title>Tag index</title><description>&lt;h1&gt;Tags&lt;/h1&gt;
&lt;p&gt;This file contains a global index of all tags used on the pages.&lt;/p&gt;
&lt;!-- material/tags --&gt;</description><link>https://cp-algorithms.com/tags.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Sun, 05 Jun 2022 22:11:56 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/tags.html</guid></item><item><title>Binary Search</title><description>&lt;h1&gt;Binary search&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Binary search&lt;/strong&gt; is a method that allows for quicker search of something by splitting the search interval into two. Its most common applica...&lt;/p&gt;</description><link>https://cp-algorithms.com/num_methods/binary_search.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Fri, 03 Jun 2022 11:53:41 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/num_methods/binary_search.html</guid></item><item><title>Knuth&apos;s Optimization</title><description>&lt;h1&gt;Knuth&apos;s Optimization&lt;/h1&gt;
&lt;p&gt;Knuth&apos;s optimization, also known as the Knuth-Yao Speedup, is a special case of dynamic programming on ranges, that can optimize the ...&lt;/p&gt;</description><link>https://cp-algorithms.com/dynamic_programming/knuth-optimization.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Fri, 29 Apr 2022 09:57:35 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/dynamic_programming/knuth-optimization.html</guid></item><item><title>Factoring Exponentiation</title><description>&lt;h1&gt;Binary Exponentiation by Factoring&lt;/h1&gt;
&lt;p&gt;Consider a problem of computing $ax^y \pmod{2^d}$, given integers $a$, $x$, $y$ and $d \geq 3$, where $x$ is odd.&lt;/p&gt;
&lt;p&gt;The ...&lt;/p&gt;</description><link>https://cp-algorithms.com/algebra/factoring-exp.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Sat, 16 Apr 2022 22:54:14 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/algebra/factoring-exp.html</guid></item><item><title>Continued fractions</title><description>&lt;!--?title Continued fractions --&gt;
&lt;h1&gt;Continued fractions&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Continued fraction&lt;/strong&gt; is a representation of a real number as a specific convergent sequence of ra...&lt;/p&gt;</description><link>https://cp-algorithms.com/algebra/continued-fractions.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Thu, 31 Mar 2022 16:21:16 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/algebra/continued-fractions.html</guid></item><item><title>MEX task (Minimal Excluded element in an array)</title><description>&lt;h1&gt;MEX (minimal excluded) of a sequence&lt;/h1&gt;
&lt;p&gt;Given an array $A$ of size $N$. You have to find the minimal non-negative element that is not present in the array. T...&lt;/p&gt;</description><link>https://cp-algorithms.com/sequences/mex.html</link><source url="https://cp-algorithms.com/feed_rss_created.xml">Algorithms for Competitive Programming</source><pubDate>Fri, 25 Feb 2022 06:55:18 +0000</pubDate><guid isPermaLink="true">https://cp-algorithms.com/sequences/mex.html</guid></item></channel></rss>