June 2024
Intermediate to advanced
294 pages
6h 34m
English
In this chapter, we've discovered the rich and complex field of graph theory and its applied branch, graph algorithms. We've started with an introduction to graphs, describing them as mathematical structures consisting of nodes, also known as vertices, and edges connecting these nodes. Graphs are ubiquitous in computer science and other fields, as they can represent a myriad of structures and problems: social networks, web pages, biological networks, transportation networks, and so much more.
After grounding ourselves in the fundamentals of graph theory, we plunged into the realm of specific graph algorithms. We began with the Depth-First Search (DFS), a simple yet powerful strategy for traversing or searching tree or graph ...