Cognizant interview question

dsa and aptitude , basic syntax