IBM interview question

Question related to project