Files

48 lines
3.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 850 836" width="850" height="836"><title>常见优化技巧:本章思维导图</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<rect x="165" y="15" width="520" height="48" stroke="#67859e" fill="#e6edf5" stroke-width="1.5"/>
<text x="425" y="39" text-anchor="middle" dominant-baseline="central" font-size="25">常见优化技巧</text>
<path d="M40 65L40 804" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M40 65L425 65" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M40 114L70 114" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="70" y="96" width="745" height="36" stroke="#67859e" fill="#eef3f8" stroke-width="1.5"/>
<text x="85" y="120" font-size="21" font-weight="bold">双指针法</text>
<path d="M82 158L98 158" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="164" font-size="19">例 1-1:A−B 数对</text>
<text x="405" y="164" font-size="18">单调性;双指针维护区间</text>
<path d="M82 210L98 210" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="216" font-size="19">例 1-2:逛画展</text>
<text x="405" y="216" font-size="18">维护区间内的性质</text>
<path d="M82 262L98 262" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="268" font-size="19">例 1-3:最大子段和</text>
<text x="405" y="268" font-size="18">维护单侧区间边界</text>
<path d="M40 324L70 324" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="70" y="306" width="745" height="36" stroke="#67859e" fill="#eef3f8" stroke-width="1.5"/>
<text x="85" y="330" font-size="21" font-weight="bold">空间换时间</text>
<path d="M82 368L98 368" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="374" font-size="19">例 1-4:直播获奖</text>
<text x="405" y="374" font-size="18">根据数据规模选择算法;缓存必要的信息</text>
<path d="M82 420L98 420" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="426" font-size="19">例 1-5:求和</text>
<text x="405" y="426" font-size="18">处理两两配对的贡献问题</text>
<path d="M82 472L98 472" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="478" font-size="19">例 1-6:玉蟾宫</text>
<text x="405" y="478" font-size="18">悬线法</text>
<path d="M40 534L70 534" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="70" y="516" width="745" height="36" stroke="#67859e" fill="#eef3f8" stroke-width="1.5"/>
<text x="85" y="540" font-size="21" font-weight="bold">单调栈</text>
<path d="M82 578L98 578" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="584" font-size="19">例 1-7:糟糕的一天</text>
<text x="405" y="584" font-size="18">使用单调栈求最值所在区间</text>
<path d="M82 630L98 630" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="636" font-size="19">例 1-8:长方形</text>
<text x="405" y="636" font-size="18">二维问题下的单调栈</text>
<path d="M40 692L70 692" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="70" y="674" width="745" height="36" stroke="#67859e" fill="#eef3f8" stroke-width="1.5"/>
<text x="85" y="698" font-size="21" font-weight="bold">单调队列</text>
<path d="M82 736L98 736" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="742" font-size="19">例 1-9:扫描</text>
<text x="405" y="742" font-size="18">使用单调队列求区间最值</text>
<path d="M82 788L98 788" fill="none" stroke="#416687" stroke-width="2"/>
<text x="108" y="794" font-size="19">例 1-10:理想的正方形</text>
<text x="405" y="794" font-size="18">二维问题下的单调队列</text>
</g></svg>