Toppr.com interview question

Brief yourself