Unisys Interview Question

Solve the given design problem.