This is a code challenge for interview.