IBM interview question

hardest problem during development