Toy problems from job interviews