Homework assignment from a job interview