what is palindrome? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is palindrome?

26th May 2017, 4:26 AM
ARAVIND BALAJI
ARAVIND BALAJI - avatar
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
26th May 2017, 4:55 AM
Álvaro
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
8th Dec 2017, 11:36 PM
Jonathan Álex
Jonathan Álex - avatar
9th Dec 2017, 11:33 AM
Jonathan Álex
Jonathan Álex - avatar