Unacademy interview question

A puzzle