Cognizant interview question

OOps concept, Data Structure Problem.