Is_Palindrome (Strings)

my code is not clearing all testcases

@souravrao3110, you are taking input in wrong way, correct input format is
Enter a number N , add N more numbers
but you are taking a single line as input ,also you are returning true if S[i]==S[l] but you should check this for every value of i ,with i<=l and after then return true.

refer code for more clarity :-