Solution to the challenge as part of the first step in the interviewing process for summer internship at Zappos Inc