I got this question in one of my interviews and got stuck. After that I dived deep into the topic and understood it better. Here's what I understood.