ZS Associates interview question

Case question - NDA