https://github.com/jugosack/palindrome-jugosack-mob-pro
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. We’ll pass strings with varying formats, such as “racecar”, “RaceCar”, and “race CAR” ...
https://github.com/jugosack/palindrome-jugosack-mob-pro
algorithms-and-data-structures javascript
Last synced: 8 months ago
JSON representation
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. We’ll pass strings with varying formats, such as “racecar”, “RaceCar”, and “race CAR” ...
- Host: GitHub
- URL: https://github.com/jugosack/palindrome-jugosack-mob-pro
- Owner: jugosack
- Created: 2023-02-17T07:19:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T07:48:34.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T14:33:52.734Z (10 months ago)
- Topics: algorithms-and-data-structures, javascript
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Palindrome Checker
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 into the same case (lower or upper 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"`.
Submit a pull request to the main branch with your solution. Do not modify the tests. Once you have created a PR with passing tests, then you have successfully completed the exercise.
### Troubleshooting
If you cannot see any auto-grading workflows on the [Actions](../../actions) page, learn how to fix it in [this repo](https://github.com/microverse-students/autograding-troubles-js/blob/main/README.md).