Cognizant interview question

one unexpected Probability question.