Slug: graph-bfs-01 · Paired reading: Chapter 21
Prompt
fn shortest_path(g: &[Vec<usize>], src: usize, dst: usize) -> Option<Vec<usize>>
— unweighted shortest path as a node list (inclusive), or None.
Mark visited at enqueue; reconstruct via parent array.