getting segmentation fault
Dijkstra algorithm
hello @guptashubham210a
u r given vertces with 1 based indexing , and u r handling them as 0 based .
make required changes and then try to submit .
for any furthur issue feel free to ping me back
here ur size is v which works only for 0 based, it should be atleast v+1 to work for 1based
same error . . . . . . . .?
no output is coming in the console
ok wait . . . . . . . . . .
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.