refine graph_operations.md (#1399)

This commit is contained in:
Yuelin Xin 2024-09-02 14:08:59 +08:00 committed by GitHub
parent 2cd2a94ce6
commit eecf6bac3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
# Basic operations on graphs # Basic operations on graphs
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. 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.
## Implementation based on adjacency matrix ## Implementation based on adjacency matrix