Still 2 test cases are not passed

i did changes for string of length 1 but still their is some problem in code