Barclays Interview Question

Java Lock, Synchronization. Java HashMap