title: Dijkstra' algorithm- vertex as coordinate
body: <p>I went through <strong>Dijkstra for shortest path algorithm</strong>,while i was practicing i encountered a question in which vertex is not a <strong>single number</strong>(say 1,2,3...and so)but it was a pair more specifically given as <strong>(x,y)coordinates</strong>.I have never done such type of question nor i have seen them.Can you please help me out how to approach for such kind of question.<strong>O(V^2) is heartily welcome</strong></p>