<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Divide-Conquer on Aayush Bajaj's Augmenting Infrastructure</title><link>https://abaj.ai/tags/divide-conquer/</link><description>Recent content in Divide-Conquer on Aayush Bajaj's Augmenting Infrastructure</description><generator>Hugo</generator><language>en</language><copyright>© 2026 Aayush Bajaj</copyright><lastBuildDate>Wed, 29 Apr 2026 03:23:12 +1000</lastBuildDate><atom:link href="https://abaj.ai/tags/divide-conquer/index.xml" rel="self" type="application/rss+xml"/><item><title>Master Theorem</title><link>https://abaj.ai/roam/master_theorem/</link><pubDate>Wed, 07 Jan 2026 10:44:34 +1100</pubDate><guid>https://abaj.ai/roam/master_theorem/</guid><description>&lt;h2 id="divide-and-conquer-recurrences">Divide-and-Conquer Recurrences&lt;a href="#divide-and-conquer-recurrences" class="post-heading__anchor" aria-hidden="true">#&lt;/a>
&lt;/h2>
&lt;p>Many divide-and-conquer algorithms follow the same pattern: split the input into smaller pieces, solve each piece recursively, and combine the results. This shared structure means their running times satisfy recurrences of the same shape.&lt;/p>
&lt;div class="math-definition" id="divide-and-conquer-recurrence">
&lt;div class="math-definition-header">
&lt;strong>Definition&lt;span class="definition-counter">&lt;/span>&lt;/strong>
&lt;span class="definition-name">(Divide-and-Conquer Recurrence)&lt;/span>
&lt;/div>
&lt;div class="math-definition-content">
&lt;p>A &lt;strong>divide-and-conquer recurrence&lt;/strong> has the form:&lt;/p>
&lt;p>\[T(n) = aT\!\left(\left\lceil n/b \right\rceil\right) + \Theta(n^d)\]&lt;/p>
&lt;p>where:&lt;/p>
&lt;ul>
&lt;li>\(a \geq 1\) is the number of subproblems (the &lt;strong>branching factor&lt;/strong>),&lt;/li>
&lt;li>\(b &amp;gt; 1\) is the factor by which the input shrinks at each level,&lt;/li>
&lt;li>\(n^d\) is the cost of the divide and combine step.&lt;/li>
&lt;/ul>
&lt;/div>
&lt;/div>
&lt;p>Three forces compete: the branching factor \(a\) creates more work at each level, the shrinkage factor \(b\) makes each subproblem cheaper, and the non-recursive cost \(n^d\) sets the price of splitting and merging. The Master Theorem tells us which force wins.&lt;/p></description></item></channel></rss>