Trianz Interview Question

How you go about solving the problem.