Merge Sort in Ruby

Look, I was gonna come up with a snappy name for this blog post – but I’m running on empty – and not in the cool Jackson Brown mid 70’s americana anthem kind of way. No, I’m actually running on like almost no energy… Juice fasts, man – they always sound like a good idea ’till you’re in the middle of it fighting your own mind not to  just break down and eat the friggin’ left over pizza from the day you decided to go on a juice fast… WHY IS IT STILL IN THE FRIDGE?!  Shouldn’t I have thrown it out before I started this ‘cursed from jump‘ fast?!

EITHER WAY! Onto some nerdy stuff… I’ve been writing / making videos about recursion a bit lately.  Recursion  is… Well…

Recursion in computer science is a method where the solution to a problem depends on solutions to smaller instances of the same problem (as opposed to iteration). The approach can be applied to many types of problems, and recursion is one of the central ideas of computer science.

That’s from wikipedia… SO, yeah, I didn’t write that… Either way, get in there and watch this video about the MERGE SORT algorithm in ruby!  It’s recursive, and relatively easy to understand!  SO, yeah, Imma go eat that pizza and swear off juice fast for like 6 months.  Excelsior, friend!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s