Problem 59831. Palindrome Checker
Create a MATLAB function that checks whether a given string is a palindrome or not. A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward, ignoring spaces, punctuation, and capitalization.
Solution Stats
Problem Comments
-
1 Comment
Brian Holden
on 25 Nov 2024
A lot of solutions are passing this due to insufficient testing. There is only one number in the tests and it's a 'pass', so solutions that remove all numbers from the input are passing because a null string counts as a palindrome.
Solution Comments
Show commentsProblem Recent Solvers43
Suggested Problems
-
Determine whether a vector is monotonically increasing
21426 Solvers
-
Return a list sorted by number of occurrences
2821 Solvers
-
Back to basics 21 - Matrix replicating
1636 Solvers
-
Check if number exists in vector
12352 Solvers
-
Number of Even Elements in Fibonacci Sequence
1433 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!