Cognizant Coding Question- 11