Traversing Trees for Rubyists

For those of you who live in Colorado like I do, I'm sure that you most certainly understand one meaning of a 'Tree', but I would like to show you another meaning in the world of computer science an ...

Ruby Basics

Here's some reference material about ruby basics. Arrays and Hashes array = [1,2,3,4,5] # => [1,2,3,4,5] array.pop # => 5 array # => [1,2,3,4] The array has been modified by the pop metho ...

Iteration and Recursion

I recently had a phone interview for a position as a software engineer and one of the questions I was asked was to define iteration and recursion and explain the differences between the two. I knew w ...