Hi I am trying to complement dijkstra and using various test cases it seems right. Can anyone point out to me why it is giving WA? Is it an edge case?
[edit] I took out the code bc I got answer accepted. If you are interested in my solution feel free to ask me 