How to answer such a question in an interview