ZS Associates interview question

Case Study and a guesstimate