ZS Associates interview question

Projects were asked in deep