Snakes and Ladder bfs-sssp

how does bfs fn is returning dist[dest] when it is declared as
VOID bfs(int ,int)

@Rhinorox watch clearly it is int bfs in the end when returning. you can also implement these things yourself too after video it helps very much.
i hope your doubt is cleared if yes dont forget to mark it as resolved :smiley:

got it :stuck_out_tongue: he pauses the video and edits it without anyone knowing lol

ok lol :joy: @Rhinorox