<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>回溯法 on PlumePHP</title><link>https://plumephp.com/tags/%E5%9B%9E%E6%BA%AF%E6%B3%95/</link><description>Recent content in 回溯法 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 28 Sep 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E5%9B%9E%E6%BA%AF%E6%B3%95/index.xml" rel="self" type="application/rss+xml"/><item><title>回溯必刷10题：排列组合与搜索模板</title><link>https://plumephp.com/leetcode-backtracking-problems/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/leetcode-backtracking-problems/</guid><description>&lt;h2 id="引言"&gt;引言&lt;/h2&gt;
&lt;p&gt;回溯（Backtracking）本质是&lt;strong&gt;带剪枝的 DFS&lt;/strong&gt;，是面试中最「套模板」的一类题：排列、组合、子集、棋盘类搜索，共享同一套「做选择 → 递归 → 撤销选择」的骨架。刷透回溯题的关键不是背题，而是&lt;strong&gt;掌握选择列表的三种构造方式&lt;/strong&gt;（元素、索引、剩余集合）和&lt;strong&gt;去重模板&lt;/strong&gt;。&lt;/p&gt;</description></item></channel></rss>