Cognizant interview question

Lamda expression