Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Palindrome Check

A Palindrome is a string that reads the same forwards and backwards. This means that the second half of the string is the reverse of the first half.

Examples

The following are palindromes (thus would return TRUE):

- "a"
- "pop"     ->  p + o + p
- "deed"    ->  de + ed
- "kayak"   ->  ka + y + ak
- "racecar" ->  rac + e + car

The following are NOT palindromes (thus would return FALSE):

- "rad"
- "dodo"
- "polo"

References