Re: why use a hash instead of an arrayby 2teez (Priest)
|on Jun 11, 2013 at 20:59 UTC||Need Help??|
And I ask that for these:
1. print out all the words, without repeating any, 2. print out all the repeated words only, 3. print out the number of times each words is seen and probably an illustration this with an histogram.
How would you do these.
Let me answer QnS 1. and 2., allow you to figure question 3 and try your hands on other solution WITHOUT USING HASH
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me