Hi All-
I have a hashmap that has duplicate values.
Expected Output
If the value has no duplicates then no change. If yes, I want to replace the second value by incrementing the series (from 2000 to 2001) and if there is another duplicate then the next series 2002. Looking for some clean and simple idea of implementing this, no third party tools. So far I have thought of this logic in terms of