You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notes/graphs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Here, the matrix indicates a graph with vertices A to D. For instance, vertex A
88
88
- Consumes more space for sparse graphs.
89
89
- Traversing neighbors can be slower due to the need to check all vertices.
90
90
91
-
### Adjacency List
91
+
####Adjacency List
92
92
93
93
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.
0 commit comments