Renuka interview question

more on the technical part