Complete this challenge that was given to me during an interview.