Project Euler – Problem 4
// June 29th, 2009 // project euler, ruby

Project Euler 4
After a while I had time to play around with Project Euler again.
This is again a pretty straightforward solution. The ruby value from this exercise is that I found ruby does not have increment or decrement operator, which is a departure from C and Java. The argument for this design decision is here.
The only hint I think may be useful for someone just stuck at what looks like a pretty good palindrome is that look at your loop again may be there is a greater number that you never reached because you broke the loop.
By the way, this is a great resource for ruby newbies like me!



