Rakuten interview question

Hashcode and equals in Java, String interning and creation, flattening a list of lists, 2Sum