ASMPT Interview Question

A case study and provide a solution,