Arista Networks Interview Question

How to implement hash map?