Table of Contents
PALINDROMES means PALIN (Back again) and DROMES (Running) Single Character is palindromic string.
History
- Palindrome comes from ancient greek
- Sator Square is one of the famous piece which is two dimensional
Below is the basic coding solution written in javascript.
12function isPalindrome(S) {3 let iteration = Math.round(S.length / 2);4 let backward = S.length;5 for (let forward = 0; forward < iteration; forward++) {6 backward--;7 if (S[forward].toLowerCase() !== S[backward].toLowerCase()) {8 return "NO";9 }10 }11 return "YES";12}13
Some Words
- Detartrated (Longest incidental palindrome)
- WOW
- KAYAK
- Symmys - (Annual awards)
- RADAR
- EVIL OLIVE
- TACO CAT
- HUH
- DO GEESE SEE GOD
- BORE ME ROB
- RISE SIR
- MADAM
- DIVE VID
- Tattarrattat (Sound of knocking at the door used by James Joyce in Ulysses, modernist novel)
Some Phrases
- Top spot
- Able was i ere I Saw Elba
- A man, A Plan, A Canal: Panama
Longest Palindromic Substring
xyxracecart