PDSA · WEEK 4

Graphs, traversal and DAGs.

Build graph representations, explore with BFS and DFS, and solve ordering and longest-path problems in DAGs.

8 study sections14 illustrations1 revision page
Start Lesson 1 →

Study sections

Follow the order or choose a section
01

Introduction to Graphs

Graphs

Open section →
02

Representing Graphs — Adjacency Matrix and Adjacency List

Graphs

Open section →
03

Breadth First Search (BFS)

Exploring graphs

Open section →
04

Depth First Search (DFS)

Exploring graphs

Open section →
05

Applications of BFS and DFS

Exploring graphs

Open section →
06

Directed Acyclic Graphs (DAGs)

Directed acyclic graphs

Open section →
07

Topological Sorting

Directed acyclic graphs

Open section →
08

Longest Path in a DAG

Directed acyclic graphs

Open section →