Cognizant Coding Question- 25