https://github.com/jackhowa/fcc-algorithm-palindromes
Check for Palindromes, using JS
https://github.com/jackhowa/fcc-algorithm-palindromes
Last synced: 8 months ago
JSON representation
Check for Palindromes, using JS
- Host: GitHub
- URL: https://github.com/jackhowa/fcc-algorithm-palindromes
- Owner: JackHowa
- Created: 2017-08-04T21:01:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T21:03:32.000Z (over 8 years ago)
- Last Synced: 2025-07-24T03:53:48.782Z (9 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fcc-algorithm-palindromes
Check for Palindromes, using JS
Return true if the given string is a palindrome. Otherwise, return false.
A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.
Note
You'll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and turn everything lower case in order to check for palindromes.
We'll pass strings with varying formats, such as "racecar", "RaceCar", and "race CAR" among others.
We'll also pass strings with special symbols, such as "2A3*3a2", "2A3 3a2", and "2_A3*3#A2".