Morgan Stanley Interview Question

Java hashmaps and SQL joins