Where Am I Going Wrong here?

My solution doesn’t pass on all test cases. Please look into it.

Code Link: https://ide.codingblocks.com/s/667762

hi @agrawaladitya192,
If a path does not exits then print “NO PATH FOUND”