ZS Associates interview question

Based on the case study