<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>贪心算法 on WishBottle</title><link>https://wishbottle.cn/tags/%E8%B4%AA%E5%BF%83%E7%AE%97%E6%B3%95/</link><description>Recent content in 贪心算法 on WishBottle</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 02 Nov 2026 15:15:00 +0800</lastBuildDate><atom:link href="https://wishbottle.cn/tags/%E8%B4%AA%E5%BF%83%E7%AE%97%E6%B3%95/index.xml" rel="self" type="application/rss+xml"/><item><title>cumt算法设计与分析期末考速通笔记（3）｜贪心算法</title><link>https://wishbottle.cn/posts/cumt-algorithms-greedy/</link><pubDate>Mon, 02 Nov 2026 15:15:01 +0800</pubDate><guid>https://wishbottle.cn/posts/cumt-algorithms-greedy/</guid><description>&lt;h2 class="heading" id="1-贪心策略与适用条件"&gt;
 1 贪心策略与适用条件
 &lt;a class="anchor" href="#1-%e8%b4%aa%e5%bf%83%e7%ad%96%e7%95%a5%e4%b8%8e%e9%80%82%e7%94%a8%e6%9d%a1%e4%bb%b6"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;贪心法每一步按某个规则选择当前最有利的方案。必须说明规则为什么能产生整体最优解；算对一个例子不足以证明正确，一个反例就能否定某种策略的普遍正确性。&lt;/p&gt;</description></item></channel></rss>