Amazon Interview Question

I had three question, the first one was a classical hash-map leetcode question, the second question was about the hash map data structure and how to practically solve collisions, the third question was a question about software design, I had to describe how to design a small chat applications with class and relationships