Jul 30 2014

Got bored – wrote code.

Got bored one afternoon, so I wrote some Ruby code. I also needed an excuse to write a post and to install a new plugin. This is an implementation of the Rabin-Karp algorithm, a string search algorithm. A friend posted a reference to it on Facebook so I decided to see how beautiful the code would look in Ruby (which is obviously looks amazing).

Leave a Reply

Your email address will not be published.