J.P. Morgan interview question

Hashmap vs concurrentHashmap SOLID principles java streams