MoEngage interview question

Explain the assignment which was given