Monday, October 10, 2016

Some Graph Problems

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

11631 - Dark roads
Solution

11747 - Heavy Cycle Edges
Solution

10034 - Freckles
Solution

11733 - Airports
Solution

1174 - IP-TV
Solution

11710 - Expensive subway
Solution

11857 - Driving Range
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

11857 - Driving Range
Solution


Dijkstra:

10986 - Sending email
Solution

929 - Number Maze
Solution


bellman ford:

558 - Wormholes
Solution


No comments:

Post a Comment

Football Player Transfer Prediction

Football Player Transfer Prediction Using Different Classifiers Project Report :  Football Player Transfer Prediction Report ...