code-golf / code-golf

A game designed to let you show off your code-fu by solving problems in the least number of characters.
https://code.golf
MIT License
1.1k stars 100 forks source link

Palindrome #643

Open abbottfenix opened 2 years ago

abbottfenix commented 2 years ago

Check if a given input is a palindrome.

MichalMarsalek commented 2 years ago

Too easy for our standards I think. On the other hand, not every hole must be competitive, I think holes like these are good to have too.

hallvabo commented 1 year ago

The hole could be made more interesting by adding other features/constraints in addition to palindromicity. For example, anagol's Palindromize or SPOJ's NEXTPREV was interesting to golf.

Another idea related to palindromes could be to construct SATOR-squares.