Solving some typical cs questions with Ruby for #codemonth
These problems are all from a program by @bparanj where I'm sent a daily email with code challenges. The question is asked at the top of each file, and the solution is coded below, along with some sample code to test several different arguments.