Cody

Problem 44512. Find if a given sentence is a palindrome

Given a string/character array, return true if the string is a palindrome else returns false.

For example:

sample_text = "Sore was I ere I saw Eros.";
isPalindrome(sample_text);
ans =
      True 

Solution Stats

34.62% Correct | 65.38% Incorrect
Last Solution submitted on Nov 19, 2019

Problem Comments