Grid Dynamics interview question

How does the Hasmap work