in reply to Re^2: How to find the repeated text in hash
in thread How to find the repeated text in hash

This is a minimalist answer, and is easily ambiguous:
Each value that is not unique should be made so by appending an integer.

Perhaps you mean something like:

Before inserting a hash key, if it already exists, string increment the key and try again.

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re^3: How to find the repeated text in hash