Skip to content

Commit

Permalink
Merge pull request #2 from AislingAurora/AislingAurora-patch-2
Browse files Browse the repository at this point in the history
Update Number of Provinces
  • Loading branch information
AislingAurora authored Oct 21, 2022
2 parents 3acd5cc + 0f3f798 commit a0709bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DSA/Graph/Number of Provinces
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ public:
}
};

// TC -> O(N) + O(V+2E) Since we are making dfs call for all n nodes and the inner loop will run for dfs times viz partial dfs+partial dfs sums upto nearly total dfs
// TC -> O(N) + O(V+2E) Since we are making dfs call for all n nodes and the inner loop will run for dfs times viz partial dfs+partial dfs sums upto nearly total dfs

0 comments on commit a0709bc

Please sign in to comment.