Comment on "
Numeric Palindrome Finder in Ruby
"
by
Scott Stevenson
— Dec 05
puts (0..10000).find_all{|n| n.to_s == n.to_s.reverse}.size
Oh wow, that is embarassing. My excuse is that it was 2am when I wrote it. :)
Back to "
Numeric Palindrome Finder in Ruby
"
Copyright © Scott Stevenson 2004-2015
by Scott Stevenson — Dec 05
Oh wow, that is embarassing. My excuse is that it was 2am when I wrote it. :)