Thoughtworks Interview Question

Given a graph, find the shortest round from Point A to Point B