Cognizant Coding Question- 32