IBM interview question

technical question on programming