Practice Interview Questions
| Question | Status |
|---|---|
Write a Python function that checks if a given string s is a palindrome (reads the same forward and backward). The function should return True if the string is a palindrome, otherwise False.
Example:
Input: "madam"
Output: True
The string "madam" reads the same forward and backward.
Input: "hello"
Output: False
The string "hello" does not read the same forward and backward.