Cognizant interview question

Data structures was asked there