ZS Associates interview question

no doubt the case interview