Tape Equilibrium

Jul 21, 20202 mins read

Table of Contents

PALINDROMES means PALIN (Back again) and DROMES (Running)

History

  1. Palindrome comes from ancient greek
  2. Sator Square is one of the famous piece which is two dimensional

Below is the basic coding solution written in javascript.

1function isPalindrome(S) {
2 let iteration = Math.round(S.length / 2);
3 let backward = S.length;
4 for (let forward = 0; forward < iteration; forward++) {
5 backward--;
6 if (S[forward].toLowerCase() !== S[backward].toLowerCase()) {
7 return "NO";
8 }
9 }
10 return "YES";
11}

Some Words

  1. Detartrated (Longest incidental palindrome)
  2. WOW
  3. KAYAK
  4. Symmys - (Annual awards)
  5. RADAR
  6. EVIL OLIVE
  7. TACO CAT
  8. HUH
  9. DO GEESE SEE GOD
  10. BORE ME ROB
  11. RISE SIR
  12. MADAM
  13. DIVE VID
  14. Tattarrattat (Sound of knocking at the door used by James Joyce in Ulysses, modernist novel)

Some Phrases

  1. Top spot
  2. Able was i ere I Saw Elba
  3. A man, A Plan, A Canal: Panama