Bank of America Interview Question

HashMap internal working