drchrono interview question

How to solve a combination game problem.