Tarento Interview Question

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