Robinhood Interview Question

Unordered map data structure question