Hopper interview question

It was a takehome assignment.