Ankita interview question

I was asked to explain the internal working of HashMap in Java, along with a short coding question on array manipulation.