Given an undirected graph as an adjacency list, and two nodes **src** and **dst**, determine whether a path exists between them. Return the path as an array of vertices if it exists, otherwise return an empty array.
Interactive graph explorer available!
Switch to the Visualize tab to build a custom graph and animate BFS traversal to test your intuition.