Skip to content

Commit 882e7b3

Browse files
authored
Update graphs.md
1 parent 958d2bf commit 882e7b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Here, the matrix indicates a graph with vertices A to D. For instance, vertex A
8888
- Consumes more space for sparse graphs.
8989
- Traversing neighbors can be slower due to the need to check all vertices.
9090

91-
### Adjacency List
91+
#### Adjacency List
9292

9393
An adjacency list uses a collection (often an array or a linked list) to catalog the neighbors of each vertex. Each vertex points to its own list, enumerating its direct neighbors.
9494

0 commit comments

Comments
 (0)