Morgan Stanley Interview Question

How does hashmap work internally? Strategy design Pattern Multithreading