FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixing complexity in DFS and BFS · sonatajames/AlgorithmVisualizer@eaa01b6 · GitHub

Commit eaa01b6

Browse files
committed
Fixing complexity in DFS and BFS
1 parent 6cdd9d5 commit eaa01b6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎algorithm/graph_search/bfs/desc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"Construction of the failure function of the Aho-Corasick pattern matcher."
1111
],
1212
"Complexity": {
13-
"time": "worst $O(|E|)$",
13+
"time": "worst $O(|V|+|E|)$",
1414
"space": "worst $O(|V|)$"
1515
},
1616
"References": [

‎algorithm/graph_search/dfs/desc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"Finding biconnectivity in graphs."
1515
],
1616
"Complexity": {
17-
"time": "worst $O(|E|)$",
17+
"time": "worst $O(|V|+|E|)$",
1818
"space": "worst $O(|V|)$"
1919
},
2020
"References": [

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL