Where the hash map is used in real time project.? Why they are useful?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Where the hash map is used in real time project.? Why they are useful??

Hashmap

30th Mar 2017, 2:12 PM
sudheer
sudheer - avatar
2 Answers
+ 3
What I have read, is that HashMap is a useful class for us to store elements and we don't know previously how much memory we need because we don't know how many dates we are going to store. For this, it has a mixture of dynamic and static memmory management in it. Besides, it provides efficient algorithms for us to look for a key into the HashMap, so it won't make the application to delay for too long.
16th Apr 2017, 6:40 AM
Diego Herrera
Diego Herrera - avatar
+ 1
i think to my knowledge they r used in browser caching displaying the webpages and in compiler designing
30th Mar 2017, 5:42 PM
Suhail Pappu
Suhail Pappu - avatar