Skip to content

NelsonBN/algorithms-data-structures-kruskal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Algorithms and Data Structures - Kruskal

Characteristics

  • Time complexity: O(V log V)
    • Because sorting the edges by weight is the dominant operation
  • Space complexity: O(V + E)

Demos

graph LR
  0((0)) -- 4 --- 1((1))
  0 -- 4 --- 4((4))
  1 -- 1 --- 2((2))
  1 -- 6 --- 6((6))
  1 -- 8 --- 3((3))
  2 -- 5 --- 4
  3 -- 7 --- 5((5))
  3 -- 3 --- 7((7))
  7 -- 5 --- 6
Loading

Implementation

References

About

Algorithms and Data Structures - Kruskal

Topics

Resources

License

Stars

Watchers

Forks

Languages