Dijkstra's algo -https://ide.codingblocks.com/s/65989

https://ide.codingblocks.com/s/65989 problem in output.

o/p
Pacific Mall is located at distance of 0
HauzKhasVillage is located at distance of 10
Delhi is located at distance of 1
CB is located at distance of 13
Connaught Place is located at distance of 0

CB --> [HauzKhasVillage,7][Pacific Mall,8][Connaught Place,13]
Connaught Place --> [HauzKhasVillage,10][CB,13][Delhi,1]
Delhi --> [Connaught Place,1]
HauzKhasVillage --> [CB,7][Connaught Place,10]

it is showing distance from Connaught Place to Pacific Mall 0 but it should be 21