Google Interview Question

Finding the shortest path in a network.