リソース · ガイド・記事
Graph
グラフという抽象データ型を2段落で定義しており、頂点、辺、有向と無向の違いを扱います。
確認日
元のサイトを開く: Graph (元のサイトを新しいタブで開きます)このトピックを練習グラフ の問題で練習用面接官を開きます。
ロードマップに追加
取り組んでいるロードマップにこのリソースを追加できます。自分用の追加リソースとして表示され、ロードマップの手順は変わらず、記録した手順数にも数えられません。
出典コンテンツの言語:英語
Read this in other languages: 简体中文, Русский, Français, Português, Українська In computer science, a graph is an abstract data type that is meant to implement the undirected graph and directed graph concepts from mathematics, specifically the field of graph theory A graph data structure consists of a finite (and possibly mutable) set of vertices or nodes or points, together with a set of unordered pairs of these vertices for an undirected graph or a set of ordered pairs for a directed graph. These pairs are known as edges, arcs, or lines for an undirected graph and as arrows, directed edges, directed arcs, or directed lines for a directed graph. The vertices may be part of the graph structure, or may be external entities represented by integer indices or references.
PrepKit の概要
この概要は PrepKit 編集部がソースリポジトリをもとに執筆・確認したもので、リソース本文の引用ではありません。
- 対象
- ソースにレベルの記載はありません
- 形式
- リファレンス
扱っている内容
- 無向辺と有向辺の用語と図
- 入門動画とグラフの表現方法に関する動画へのリンク
使い方
PrepKit の学習アドバイスであり、ソースの主張ではありません。
同じ小さなグラフについて隣接リストと隣接行列を作り、それぞれをどんな場合に選ぶかを説明してください。
範囲と制約
隣接リストや隣接行列の説明、操作、計算量の表はありません。役立つ内容はリンク先の動画にあります。
利用方法と形式
GitHub の trekhleb/javascript-algorithms(MIT)にある短い README で、5つの翻訳へのリンクがあります。英語で、無料です。
PrepKit が 2026/10/02 に確認しました。 リソースの出典のコミット: 85293e3e2b88
この概要の根拠
- src/data-structures/graph/README.md
この項目を掲載しているページ
PrepKit ニュースレターを受け取る
任意です。PrepKit の利用には必要ありません。