IBM interview question

Technical question is pretty basic.