Skip to Content
Practical Discrete Mathematics
book

Practical Discrete Mathematics

by Ryan T. White, Archana Tikayat Ray
February 2021
Intermediate to advanced
330 pages
7h 11m
English
Packt Publishing
Content preview from Practical Discrete Mathematics

Chapter 9: Searching Data Structures and Finding Shortest Paths

This chapter will discuss the searching techniques of graph, tree, and network data structures and practical applications of graph searches. We will introduce and analyze two popular algorithms for related problems: depth-first search (DFS) for graph searches and Dijkstra's algorithm for finding the shortest paths between vertices in networks. Both are introduced on small graphs to build intuitive understanding, and Python implementations are written that can scale up to real-world problems.

In this chapter, we will cover the following topics:

  • Searching graph and tree data structures
  • Depth-first search algorithm
  • The shortest path problem and variations of the problem
  • Finding ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linear Algebra for Data Science

Practical Linear Algebra for Data Science

Mike X Cohen
Concrete Mathematics: A Foundation for Computer Science, 2nd Edition

Concrete Mathematics: A Foundation for Computer Science, 2nd Edition

Ronald L. Graham, Donald E. Knuth, Oren Patashnik

Publisher Resources

ISBN: 9781838983147Supplemental Content