Here are some Graph problems i have solved over time
Flood Fill/Finding Connected Components using dfs/bfs:
BFS:
DFS:
Tropological sort:
Strongly connected component:
Graph coloring:
MST:
908 - Re-connecting Computer Sites
Solution
Solution
11631 - Dark roads
Solution
Solution
11747 - Heavy Cycle Edges
Solution
Solution
10034 - Freckles
Solution
Solution
11733 - Airports
Solution
Solution
1174 - IP-TV
Solution
Solution
11710 - Expensive subway
Solution
Solution
11857 - Driving Range
Solution
Solution
10048 - Audiophobia (mst+bfs)
Solution
544 - Heavy Cargo
Solution
10099 - Tourist Guide
Solution
10147 - Highways
Solution
10397 - Connect the Campus
Solution
10600 - ACM Contest and Blackout
Solution
11228 - Transportation system.
Solution
11733 - Airports
Solution
Solution
544 - Heavy Cargo
Solution
10099 - Tourist Guide
Solution
10147 - Highways
Solution
10397 - Connect the Campus
Solution
10600 - ACM Contest and Blackout
Solution
11228 - Transportation system.
Solution
11733 - Airports
Solution
11857 - Driving Range
Solution
Dijkstra:
10986 - Sending email
Solution
Solution
929 - Number Maze
Solution
Solution
bellman ford:
558 - Wormholes
Solution
Solution
No comments:
Post a Comment