What are the real World problems that can be solved using graph data structure

The graph is an useful data structure and it can be used to solve my real World problems. To use it in the right place in right way it is good to know where graph data structure is applicable. Following are few scenarios where we can use graph as a data structure

1. To find shortest and longest path between source and destination
2. Calculating geographical distance using map (Google map)
3. The computer networks
4. Solving project management related issues
5. Matching problems can be solved using graph (match workers to their jobs)
6. Compiler optimization can be done using graph
7. The atoms and molecules can be modeled using graph

Comments