algorithm
(a) (4 points) Describe how to modify the algortihm for Breadth First Search so that for each vertex v, the number of shortest paths from s to v is stored in v.n Solution: INSERT YOUR SOLUTION HERE (b) (4 points) For the next two parts, assume that all graphs are undirected. Recall that a simple cycle is a cycle without repeated vertices. Prove that if there is more than one path from v to
OR
OR