Cognizant Interview Question

They asked to slove problem but that was a simple problem.