Write a function that takes a CharSequence as input and returns a boolean value indicating whether the input is a palindrome.
A palindrome is a word or phrase that reads the same backward as forward. For example, "racecar" is a palindrome.
Write a function that takes a CharSequence as input and returns a boolean value indicating whether the input is a palindrome.
A palindrome is a word or phrase that reads the same backward as forward. For example, "racecar" is a palindrome.
Sample Input 1:
racecarSample Output 1:
trueSample Input 2:
skySample Output 2:
falseCreate a free account to access the full topic