Sentara Health Interview Question

make a shortest pasth from point A to point B.