mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
chore: update spelling mistakes (#1790)
* chore: update spelling mistakes * chore: add spellignore * chore: update sp mistakes
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* like "2A3*3a2", "2A3 3a2", and "2_A3*3#A2"
|
||||
*
|
||||
* But the catch is, we have to check only if the alphanumeric characters
|
||||
* are palindrome i.e remove spaces, symbols, punctuations etc
|
||||
* are palindrome i.e remove spaces, symbols, punctuation etc
|
||||
* and the case of the characters doesn't matter
|
||||
*/
|
||||
const alphaNumericPalindrome = (str) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Palindrome check is case sensitive; i.e. Aba is not a palindrome
|
||||
// Palindrome check is case sensitive; i.e., Aba is not a palindrome
|
||||
// input is a string
|
||||
const checkPalindrome = (str) => {
|
||||
// check that input is a string
|
||||
|
||||
Reference in New Issue
Block a user