Snapdeal interview question

Oops concept