Comment on "
Numeric Palindrome Finder in Ruby
"
by
Eaten Alive
— Dec 06
I like the first one the most, but it would be even better like this--
("0".."10000").find_all{|n| n == n.reverse}.size
Back to "
Numeric Palindrome Finder in Ruby
"
Copyright © Scott Stevenson 2004-2015
by Eaten Alive — Dec 06
("0".."10000").find_all{|n| n == n.reverse}.size