ZS Associates Interview Question

Based on case study given to solve