My actual code from the interview with the Angie's List guys.