Anonymous interview question

shortest path algorithm airplane problem