BlackRock interview question

describe how HashMap works