IBM interview question

Technical