Skip to content

Commit

Permalink
change font for TC and SC
Browse files Browse the repository at this point in the history
  • Loading branch information
W-ight authored Jun 8, 2024
1 parent 96a275e commit d5911bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsa/Algorithms/kruskal's.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,5 +341,5 @@ Kruskals path is:
```
### Time and Space Complexity:
* Time complexity: The time complexity of kruskal's algorithm depends on two operations i.e. sorting of all edges and union-find operation.Thus, the overall time complexity is: **O(ElogV)**
* Space complexity: The space complexity of kruskal's algorithm includes storage for edges, union-find data structure and storage for the MST. Thus the overall space complexity is: **O(E+V)**
* Time complexity: The time complexity of kruskal's algorithm depends on two operations i.e. sorting of all edges and union-find operation.Thus, the overall time complexity is: $O(ElogV)$
* Space complexity: The space complexity of kruskal's algorithm includes storage for edges, union-find data structure and storage for the MST. Thus the overall space complexity is: $O(E+V)$

0 comments on commit d5911bb

Please sign in to comment.