Given a string s, determine whether it is a palindrome.
A string is a palindrome if it reads the same forward and backward.
The check is case-sensitive and includes spaces and special characters.
Input: A single string s.
Output: Return 'true' if the string is a palindrome, otherwise return 'false'.
Input: racecar
Output: true
Explanation: 'racecar' reversed is 'racecar' — same string, so it is a palindrome.Input: hello
Output: false
Explanation: 'hello' reversed is 'olleh' which is different, so it is not a palindrome.Input: a
Output: true
Explanation: A single character is always a palindrome.0 <= s.length <= 10^5s consists of printable ASCII charactersCheck is case-sensitive