IBM interview question

Straight forward tech interview