學習指南系列Study Guide Series学習ガイドシリーズ

資料結構(使用 C 語言)Data Structures in Cデータ構造(C 言語)

十章加一附錄的逐章學習指南——從抽象資料型態與效率分析出發,經陣列、堆疊、佇列、串列、樹與圖,一路到排序、雜湊、累堆與平衡搜尋樹。Ten chapters plus an appendix, one study guide each — starting from abstract data types and performance analysis, through arrays, stacks, queues, linked lists, trees and graphs, all the way to sorting, hashing, heap structures and balanced search trees.全 10 章と付録の章別学習ガイド——抽象データ型と性能解析から始め、配列・スタック・キュー・リスト・木とグラフを経て、ソート・ハッシュ法・ヒープ・平衡探索木まで。

10 chapters 1 附錄appendix付録 689 頁原書source pagesページの原書 C

每章皆為獨立的單一 HTML 頁面,含左側大綱、公式方塊、觀念與考題陷阱提示、完整的 C 程式碼、手繪的 SVG 圖,以及可展開解答的習題。內容依據原書掃描頁逐頁整理而成。Each chapter is a standalone single-page HTML guide with a left-hand outline, boxed equations, concept and exam-trap callouts, the complete C programs, hand-drawn SVG figures, and exercises whose solutions expand in place. The content is written from the scanned pages of the book, one page at a time.各章は独立した単一ページの HTML ガイドで、左側のアウトライン、数式ボックス、概念と試験の落とし穴の注記、完全な C プログラム、手描きの SVG 図、その場で展開できる解答付き演習を備えています。

一、基礎與表示法I. Foundations and RepresentationI. 基礎と表現

先把評比資料結構的共同語彙建立起來:ADT、步驟計數與漸近式表示法,再看最基本的陣列與結構。First build the shared vocabulary for judging data structures — ADTs, step counts and asymptotic notation — then the most basic containers: arrays and structures.まずデータ構造を評価する共通語彙(ADT、ステップ数、漸近表記)を整え、次に最も基本な配列と構造体を見ます。

二、線性資料結構II. Linear Data StructuresII. 線形データ構造

限制存取端點的堆疊與佇列,以及用指標解開陣列插入刪除限制的串列。Stacks and queues, which restrict where you may access, and linked lists, which use pointers to escape the array’s insertion and deletion cost.アクセス位置を制限するスタックとキュー、そしてポインタで配列の挿入・削除コストを回避するリスト。

三、非線性資料結構III. Nonlinear Data StructuresIII. 非線形データ構造

樹與圖——一個元素不再只有一個後繼者時,演算法的型態就改變了。Trees and graphs — once an element may have more than one successor, the shape of the algorithms changes.木とグラフ——要素が複数の後継を持ちうるとき、アルゴリズムの形が変わります。

四、排序、搜尋與進階結構IV. Sorting, Searching and Advanced StructuresIV. ソート・探索と発展的な構造

把前面建立的分析工具全面用上:排序、雜湊、各種堆積,以及平衡搜尋樹。Where the analysis tools from Chapter 1 get their full workout: sorting, hashing, the heap family, and balanced search trees.第 1 章で用意した解析道具が本格的に使われるところ:ソート、ハッシュ法、ヒープ群、平衡探索木。

附錄Appendix付録

閱讀順序。Reading order.読む順序。 第 1 章不介紹任何具體的資料結構,而是建立後面每一章都會用到的語彙:ADT 的定義格式、步驟計數,以及 O / Ω / θ。建議先讀完第 1 章再依序前進;第 2–4 章是線性結構,第 5–6 章轉入樹與圖,第 7–10 章則是把前面的分析工具全面用上。內文以中文撰寫,技術名詞保留英文對照——章節頁本身沒有語言切換鈕,只有本索引頁有。 Chapter 1 introduces no data structure at all; it builds the vocabulary every later chapter depends on — the ADT definition format, step counting, and O / Ω / θ. Read it first, then go in order: Chapters 2–4 are the linear structures, 5–6 turn to trees and graphs, and 7–10 put the analysis tools of Chapter 1 to full use. The chapter text is written in Chinese with the English technical terms kept alongside — the chapter pages carry no language switcher of their own; only this index does. 第 1 章は具体的なデータ構造を扱わず、以降の全章が依存する語彙(ADT の定義形式、ステップ数、O / Ω / θ)を整えます。まず第 1 章を読み、その後順に進めてください。本文は中国語で書かれ、技術用語は英語を併記しています。