Dsa
Strings
Warm-up
Palindrome Checker
Implement a function that checks if a given string is a palindrome. A palindrome reads the same forward and backward, ignoring case and spaces.
Example:
Input:
A man a plan a canal Panama
Output:
True
Key concepts
stringspalindromesvalidation
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now