Skip to content
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Backend Developer
/
Questions
/
Minimum Spanning Tree
Backend Developer
Minimum Spanning Tree questions
9 questions on Minimum Spanning Tree for backend developers, easiest first.
Easy
3
What a minimum spanning tree is
easy
How Kruskal’s algorithm works
easy
How Prim’s algorithm works
easy
Medium
4
Total weight of a small MST
medium
When the MST is unique
medium
The heaviest edge on a cycle
medium
Choosing Prim or Kruskal
medium
Hard
2
Changing weights without changing the MST
hard
Connecting 1,000 points by Manhattan distance
hard