plz can anyone point out the error…http://ideone.com/mIzKFy i spent lot of time over it…(>_<)
totally frustrated…
plz can anyone point out the error…http://ideone.com/mIzKFy i spent lot of time over it…(>_<)
totally frustrated…
The fact that we can’t get the actual tests on which the solution fails is really aggravating.
http://ideone.com/MVGSk0 check this link i have given some test cases for which it is failing
upvote if it helped of mark it as best answer
i guess there are some more corner cases…which i’m not satifying…and @sanzzzay i upvoted your answer…
bhai i am not much concerned about vote …amitt001 is … i have no problem and for input 0000000000000000000 it should give 0
ok…chill i’m learning…
could u guide me how to tackle dp??? samaj he ni aati bilkul:(…like digijump
thanku for the help…