Altimetrik Interview Question

What is the internal functionality of a hash map?

Interview Answers

Anonymous

Sep 12, 2024

After BGV will they conduct client round

Anonymous

Jul 8, 2025

Internal functionality of a hash map Works on blocks (arraylist) 1. Hashing 2. Calculate Index 3. store the elements in the index 4. if the hashcodes are same , update the value 5. in case of hash collision , store the elements in the same block linked via linklist, if the size of the block exceeds, linklist will be automatically converted to RBT(from java 8 onwards)