Cognizant interview question

Solid principles