<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>圖 on BenzHub</title><link>https://benzhub.github.io/tags/%E5%9C%96/</link><description>Recent content in 圖 on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Wed, 08 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/%E5%9C%96/index.xml" rel="self" type="application/rss+xml"/><item><title>圖的表示法 — 鄰接矩陣、鄰接串列與邊串列完整解析 | 資料結構與演算法</title><link>https://benzhub.github.io/post/javascript/data-structures--algorithms/025-graph-representation/</link><pubDate>Wed, 08 Jul 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/javascript/data-structures--algorithms/025-graph-representation/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;圖（Graph）&lt;/strong&gt; 是由 &lt;strong&gt;頂點（Vertex）&lt;/strong&gt; 與 &lt;strong&gt;邊（Edge）&lt;/strong&gt; 組成的資料結構，能描述現實世界中幾乎所有的關聯關係：社交網路的朋友關係、地圖的路網、網頁的超連結，都是圖的實例。選擇正確的 &lt;strong&gt;圖的表示法（Graph Representation）&lt;/strong&gt;——鄰接矩陣、鄰接串列或邊串列——是決定圖演算法效能的第一步。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>