IBM interview question

Core technical