+ 1
what is palindrome?
3 Answers
+ 3
It's a phrase, word or number that can be read the same left-to-right than right-to-left. For example, 158646851 is a palindrome number. "radar" is a palindrome word. "A man, a plan, a canal, Panama" is a palindrome phrase, if you don't take into account capital letters, punctuation nor spaces.
Here's a code that checks whether a string of characters is palindrome:
https://code.sololearn.com/cs0gCxsWWXh1/?ref=app
0
It's a phrase, number or word that remains the same if reversed completely.
Examples: "lol", "2002", "loop on no pool".
Check out my algorithms bellow:
https://code.sololearn.com/c8OLa6oPvk6V/?ref=app
https://code.sololearn.com/cKX1twtIeLb0/?ref=app
0
Here are my new tries, now using Python:
https://code.sololearn.com/ckzKZUhvplvr/?ref=app
https://code.sololearn.com/cdb28fBq2f90/?ref=app