Cognizant interview question

dsa ,coding design patterns , dependency injection