Cognizant Interview Question

dsa and aptitude , basic syntax