Amazon Interview Question

First round was a 2hrs coding challenge. It was based on Collections(map).