0

Test 3 & 4 failed why

I am solving code coach problem of extra terrestrial The test 1,2,5 completed But 3&4 failed I don't know what's the issue Could u pls help me https://code.sololearn.com/cu8VHYGsowqH/?ref=app

9th Aug 2022, 7:11 AM
Kevin
1 Answer
+ 2
rev[ j ]='\0'; // not rev[ i ]
9th Aug 2022, 9:07 AM
Jayakrishna 🇼🇳