Solutions to the problem sets on coderbyte.com.  Spoilers do await...