<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>KD-Tree on BenzHub</title><link>https://benzhub.github.io/tags/kd-tree/</link><description>Recent content in KD-Tree on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Sun, 28 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/kd-tree/index.xml" rel="self" type="application/rss+xml"/><item><title>進階樹結構 — B-Tree、B+ Tree、KD-Tree 與 Skip List | 資料結構與演算法</title><link>https://benzhub.github.io/post/javascript/data-structures--algorithms/015-advanced-trees/</link><pubDate>Sun, 28 Jun 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/javascript/data-structures--algorithms/015-advanced-trees/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;進階樹結構&lt;/strong&gt;（Advanced Trees）是針對特殊場景——磁碟 I/O 密集、高並發讀寫、多維空間查詢——所設計的資料結構家族。&lt;strong&gt;B-Tree&lt;/strong&gt; 和 &lt;strong&gt;B+ Tree&lt;/strong&gt; 讓每個節點能裝進一整個磁碟頁，把樹高壓縮到 3-4 層；&lt;strong&gt;Skip List&lt;/strong&gt; 用隨機化多層鏈結串列取代複雜的旋轉操作；&lt;strong&gt;KD-Tree&lt;/strong&gt; 則把多維空間遞迴切割，讓最近鄰搜尋從線性退到對數時間。這些結構正是 MySQL、Redis 與遊戲引擎底層的核心設計。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>