Skip to content

Latest commit

 

History

History

14-traversal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Unit 14: Graph traversal

This unit covers the basic graph traversal algorithms, and several of their applications:

  • Depth First Search (DFS)
  • Breath First Search (BFS)
  • Shortest path with BFS
  • Connected components
  • Topological sort (zero in-degree and DFS)
  • Bipartite check
  • Strongly connected components (Kosaraju's algorithm)

Prerequisites

Practice problems

For BFS shortest path exercises, see unit 17

Easy

Medium

Hard