Rafael Interview Question

The thief problem.