ZS Associates interview question

Describing the case study.