Arista Networks interview question

How to implement hash map?