Verizon interview question

how to pull element from a queue, how hash map works and so on