Tenerity India interview question

programming