<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recursion on Algorithms in 60 Days</title><link>https://algorithmsin60days.com/tags/recursion/</link><description>Recent content in Recursion on Algorithms in 60 Days</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 06 Jul 2026 09:00:00 +0500</lastBuildDate><atom:link href="https://algorithmsin60days.com/tags/recursion/index.xml" rel="self" type="application/rss+xml"/><item><title>Recursion for Interviews: Think Before You Code</title><link>https://algorithmsin60days.com/blog/recursion-interview-explained/</link><pubDate>Mon, 06 Jul 2026 09:00:00 +0500</pubDate><guid>https://algorithmsin60days.com/blog/recursion-interview-explained/</guid><description>&lt;p&gt;Recursion problems have a peculiar failure mode in interviews. Candidates don&amp;rsquo;t run out of knowledge — they run out of working memory. They start tracing calls: &amp;ldquo;so f(4) calls f(3), which calls f(2), which calls f(1)…&amp;rdquo; and three levels deep, the whiteboard is a spiderweb and the interviewer is checking the clock.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the uncomfortable truth: &lt;strong&gt;if you&amp;rsquo;re mentally simulating the call stack, you&amp;rsquo;re doing it wrong.&lt;/strong&gt; The entire point of recursion is that you &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; trace it. This post gives you the mental model that makes tracing unnecessary, then applies it to five real interview problems in Python.&lt;/p&gt;</description></item><item><title>Backtracking Explained: N-Queens to Subsets</title><link>https://algorithmsin60days.com/blog/backtracking-interview-problems/</link><pubDate>Sat, 04 Jul 2026 10:00:00 +0500</pubDate><guid>https://algorithmsin60days.com/blog/backtracking-interview-problems/</guid><description>&lt;h1 id="backtracking-explained-n-queens-to-subsets"&gt;
 &lt;a class="header-anchor" href="#backtracking-explained-n-queens-to-subsets"&gt;Backtracking Explained: N-Queens to Subsets&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;If dynamic programming is the interview topic people fear most, backtracking is the one they fumble most. It shows up constantly — subsets, permutations, combination sum, word search, N-Queens — and candidates who haven&amp;rsquo;t internalized the pattern end up improvising recursion under pressure, which rarely goes well.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the good news: almost every backtracking interview problem is the &lt;em&gt;same problem&lt;/em&gt; wearing a different costume. Once you learn the template, you stop memorizing solutions and start generating them. This post walks through the template and applies it to the four problem types that cover the vast majority of backtracking questions you&amp;rsquo;ll actually be asked.&lt;/p&gt;</description></item></channel></rss>