10/32
Part 2 of 7 · Breadth-first searchWatch
Watch · 3 min

Greg Hogg runs breadth-first search with a queue: the start node's neighbors first, then their neighbors.

Graphs: Edge List, Adjacency Matrix, Adjacency List, DFS, BFS - DSA Course in Python Lecture 11 · Greg Hogg · Jul 2024YouTube