We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d97e849 commit 674119bCopy full SHA for 674119b
Section_12(Graphs)/(1)_graph.py
@@ -58,4 +58,7 @@ def remove_edge(self, u, v):
58
self._adjacent_matrix[u][v] = 0
59
60
def exist_edge(self, u, v):
61
- return self._adjacent_matrix[u][v] != 0
+ return self._adjacent_matrix[u][v] != 0
62
+
63
+ def vertex_count(self):
64
+ return self._vertices
0 commit comments