Pregunta de entrevista de Morgan Stanley

Some live coding excercises, how does HashMap work internally, how do you fix a bug generated from an older implementation