Minimum Spanning Tree (MST): Easy to Hard Problems
Easy
- Kruskal’s Algorithm Implementation (Not directly MST but involves understanding of MST concepts)
- Union-Find Data Structure (Useful for Kruskal’s Algorithm)
- Graph Valid Tree (Checks if a graph is a valid tree, which involves MST properties)
- Find the Redundant Connection (Finds an edge that creates a cycle, relevant for MST understanding)
- Find the Town Judge (Involves concepts of connectivity and component checking)
Medium
- Minimum Spanning Tree (Direct MST problem)
- Network Delay Time (Involves finding shortest paths with MST concepts)
- Connecting Cities With Minimum Cost (Direct MST problem)
- Cheapest Flights Within K Stops (Related to pathfinding and minimum costs, can be related to MST concepts)
- Kruskal’s Algorithm (Classic problem for understanding MST algorithms)
Hard
- Minimum Cost to Connect All Points (Minimum spanning tree in 2D plane)
- Roads and Libraries (MST problem with additional constraints)
- Minimum Spanning Tree (Generalized Problem) (Generalized MST problem with custom constraints)
- Find the Minimum Spanning Tree Weight (Advanced MST problem with specific weight constraints)
- Optimal Network Design (Complex network design problem involving MST concepts)
- Maximum Spanning Tree (Variant of MST where the goal is to maximize the spanning tree weight)
- Traveling Salesman Problem (TSP) with MST Heuristic (Advanced problem involving MST heuristics for solving TSP)
- Advanced Minimum Spanning Tree Algorithms (Complex MST problem involving advanced algorithmic techniques)