https://ide.codingblocks.com/s/69372.
In this question one test case give correct answer but other gives false.
Regarding Ultra-Fast-Mathematics
raushan u have done some mistakes
like u have to put and NULL character at the end of the array as u have taken character array also an endl after every cout statement and also u have put some uneccesary conditions.i have corrected all
check this https://ide.codingblocks.com/s/69384
Hope this helps:)
u have done the same mistakes
the constraint written in the question u don’nt have to check that in ur question like u have done in line 11 also u know if there lenght are equal then only onw iteartor i is enought for both of them to traverse and if 1 string lenght is finish then other also finish so u don;t have to do another check for string s2 like u done in line 13 the thing u have done is also right but uneccesary and also if all the iteration are finish then put a null character and then cout the string i have corrrected ur code
https://ide.codingblocks.com/s/69389
hopr this help
Hey Raushan,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.