Skip to content

Commit 04e9143

Browse files
committed
updated the README
1 parent 19ed82b commit 04e9143

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Return `true` if the given string is a palindrome. Otherwise, return `false`.
2+
3+
A palindrome is a word or sentence that's spelled the same way both `forward` and `backward`, ignoring punctuation, case, and spacing.
4+
5+
Note: I'll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and turn everything into the same case (lower or upper case) in order to check for palindromes.
6+
7+
We'll pass strings with varying formats, such as `racecar`, `RaceCar`, and `race CAR` among others.
8+
9+
We'll also pass strings with special symbols, such as `2A3*3a2`, `2A3 3a2`, and `2_A3*3#A2`.

0 commit comments

Comments
 (0)