Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

35 mins, but in less than 40 lines of ruby


I used Ruby, too. Nothing else required.

I think Clojure might've made things a tad easier (given all its sequence functions), but I'm just learning it, so Ruby all the way.

That said, finding the palindromes in Ruby took me about 12 lines of code (less if I didn't structure it using methods).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: