Cognizant interview question

some problem-solving questions and logical questions