IBM interview question

I would say the difficulty level was medium.