Wipro NLTH Coding Question- 17