Challenge: Implement breadth-first search
We'll cover the following...
Implement BFS
In this step, you'll finish implementing the doBFS()
function, which performs a breadth-first search on a graph and returns an array of objects describing each vertex.
For each vertex