Capgemini Interview Question

Solve the given problems in 24 hours