Domanda di colloquio di AMD

Hashmap + ArrayList based DSA question with 2 follow-ups