IBM interview question

Basic Data Structure and OOPs Concept