Wipro NLTH Coding Question- 7