Google Interview Question

read a file and find the path between the two destination