what is the problem with my code , only one test case not passing .
reply as soon as possible.
One test case not passing
@D19APPPP0016 you have to print -1 if ans do not exist.
if your doubt is cleared dont forget to hit like and mark resolved 
what is the problem with my code , only one test case not passing .
reply as soon as possible.
@D19APPPP0016 you have to print -1 if ans do not exist.
if your doubt is cleared dont forget to hit like and mark resolved 