Tag Archives: HashMap

HashMap Internal Implementation Analysis in Java

Most of you will agree that HashMap is most favorite topic for discussion in interviews now-a-days. Now, I am continuing this discussion with you all. I am assuming that if you are interested in internal working of HashMap, you already know basics of HashMap, so I'm skipping that part. But if you are new to concept, follow official java docs. Single Statement Answer If anybody asks me to describe "How HashMap works?", I simply answer: "On principle of Hashing". As simple as it is. Now before answering it, one must be very sure to know at least basics of Hashing. Right? What is Hashing Hashing in its simplest form, is a way to assigning a unique code for any variable/object after…

Continue Reading
Contact Us
  • SenseTime Research, Shenzhen Bay Eco-Technology Park
  • cshzxie [at] gmail [dot] com