What is wrong with my code?

@tusharnitharwal
hello Tushar,
add this extra condtion in ur code
image

also u should try all path to reach n,m . remove those extra if condition for o and s

here is ur updated code