ZS Associates interview question

Based on the questions in the case study.