TaskRabbit interview question

How would you solve this problem (specifics...)