Introduction to Graph Algorithms and Implementation
In this chapter, we will be studying graph algorithms. These algorithms use the basic graph structure.
Before we begin, let’s briefly discuss what graphs are.
What is a graph?
A graph is an abstract notation used to represent the connection between pairs of objects. It can be used to represent networks: systems of roads, airline flights from city to city, how the Internet is connected, or social connectivity on Facebook, Twitter, etc. We use some standard graph algorithms to solve these otherwise difficult problems.