Giving wrong answer in test but correct in custom input


#1

for test case “abba”
it return 0 while testing
but return 1 in custom test case which is correct