mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-17 06:00:58 +00:00
deploy
This commit is contained in:
@@ -3609,7 +3609,7 @@
|
||||
|
||||
<!-- Page content -->
|
||||
<h1 id="92-basic-operations-on-graphs">9.2 Basic operations on graphs<a class="headerlink" href="#92-basic-operations-on-graphs" title="Permanent link">¶</a></h1>
|
||||
<p>The basic operations on graphs can be divided into operations on "edges" and operations on "vertices". Under the two representation methods of "adjacency matrix" and "adjacency list", the implementation methods are different.</p>
|
||||
<p>The basic operations on graphs can be divided into operations on "edges" and operations on "vertices". Under the two representation methods of "adjacency matrix" and "adjacency list", the implementations are different.</p>
|
||||
<h2 id="921-implementation-based-on-adjacency-matrix">9.2.1 Implementation based on adjacency matrix<a class="headerlink" href="#921-implementation-based-on-adjacency-matrix" title="Permanent link">¶</a></h2>
|
||||
<p>Given an undirected graph with <span class="arithmatex">\(n\)</span> vertices, the various operations are implemented as shown in Figure 9-7.</p>
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user