J.P. Morgan interview question

Hashmap working ? Advantages of using locks over syncronized ? Design queue using two stacks ? How do you design lift system ?