Cognizant Interview Question

two aptitude questions