codahale.com٭blog

This is my old blog. My current writing is here: codahale.com

Ruby Quiz #84: Pascal’s Triangle

I’ve started getting interested in Ruby Quiz as a way to keep my Ruby-fu sharp, and I think I’m gonna make it a regular feature here.

Today’s quiz question revolves around Pascal’s Triangle.

Here’s my answer, after the fold.

(continue reading…)

2 comments »