A palindrome is a word, number, phrase, or another sequence of characters that reads the same backward as forward, such as madam, racecar, or the number 161. What is the sum of all numeric palindromes that are less than 20k? class Palindrome def initialize end def palindrome?(string) if string
You don't have access to this post on Chris Mendez at the moment, but if you upgrade your account you'll be able to see the whole thing, as well as all the other posts in the archive! Subscribing only takes a few seconds and will give you immediate access.

This post is for subscribers only

Subscribe now