Computer Algorithms II Lecture Notes

6 November 2008 • Graph Basics


A bit more accurately, random traversal alone can’t solve the problem:

  1. Randomly traverse all vertices, keeping only those that satisfy the property.

  2. Find the shortest path from the initial vertex to each of the retained vertices, keeping the vertex at the end of the shortest path overall.


This page last modified on 24 January 2006.