Cognizant Interview Question

Logical reasoning and coding questions