Anil Group interview question

Oops