Can Somebody explain why my code is giving WA on 2nd TC on testCase 38 which is s = "10111", even tho i am getting the same output as author's Code.↵
My Submission :- [submission:270768936]↵
Authors code :- [submission:270768479]↵
↵
Output according to author's code is : 2 6 (for 10111)↵
My code also gives the same answer :(
My Submission :- [submission:270768936]↵
Authors code :- [submission:270768479]↵
↵
Output according to author's code is : 2 6 (for 10111)↵
My code also gives the same answer :(