Tarento interview question

How nsdictionary internally works ( same question how HashMap works internally in java )