Friday, 23 August 2013

Is hashMap implemented as an array of linked lists

Is hashMap implemented as an array of linked lists

While reading about HashMap i see that it is implemented as an array of
buckets? Now are these buckets always linked lists? If so, why are they
called buckets and not linked lists?

No comments:

Post a Comment