Algorithm that defines whether string is palindrome or not.
isPalindrome(string)
should return true
if the given string
is palindrome
and false
otherwise.
Example:
isPalindrome('Race car') // true
Algorithm that defines whether string is palindrome or not.
isPalindrome(string)
should return true
if the given string
is palindrome
and false
otherwise.
Example:
isPalindrome('Race car') // true