Cognizant interview question

it was about the data structure