ZS Associates interview question

One case study and one guesstimate