Cognizant interview question

Oops and dsa question codes