This a problem in HackerRank named "Funny String" where we are asked to output Funny if the ascii difference between the characters of the string and the reversed version of it is same. I mean if S is the string and R is the reversed version of it then |S[i]-S[i-1]|=|R[i]-R[i-1]|, for i=0 --> N-1 and Not Funny otherwise. I have done the coding but it's failing in some test cases, what's wrong in it?