The Irishman comes listens to the Tao also. He returns the next day. His usual smile is a little less broad. His friend asks him what is wrong. "Do I look troubled?, he asks.
The friend continues, "Why do you Irish respond to a question with a question?" The Irishman's smile returns, "Do we now?" They both laughed.
The Irishman says, "Thank you, my friend you've given me an idea. When the Tao asked us to solve the problem yesterday, I should have asked a few questions. Take a look at my output. Do you think it is wrong?"
Input: I came I saw I left Output: Duplicate words: I Number of Distinct Words: 3 List of words with duplicates eliminated: came saw leftThe friend consoles the Irishman: "I see your point. The problem is common. A Customer does his best to describe a system to a Designer. They both think they understand each other, but in reality they don't."
The Irishman asks, "Should I have asked for an example?"
The friend finishes, "Yes, that way you have two specifications of the problem. As an added bonus, an example can be used to supply test data to your program. You won't be finished until your output matches the example."