Wipro NLTH Coding Question- 6