Cognizant interview question

all were easy