I got the concept explained in the video “Single Source Shortest Path”
Link to code explained in video-> https://ide.codingblocks.com/s/485153
But in the video, he printed shortest dist of each node for eg: shortest dist of 5 is 3
Instead, I want to print shortest path from source to destination. i.e. for eg: if source =3 & destination = 5
then. shortest path is 3->4->5 and I want to print that.
How can I do that? Please help