IBM interview question

Basic Cs questions