IBM interview question

The interview was pretty easy