MoEngage Interview Question

Explain the assignment which was given