in reply to Re^2: Required guidance to simplify this program
in thread Required guidance to simplify this program
For each name in the array, if the name already exists in the hash as key, then increment the value by 1; but if not, then add the name to the hash with the initial value of 1.
Hope it helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Required guidance to simplify this program
by vyeddula (Acolyte) on Jun 04, 2013 at 17:47 UTC |