ams OSRAM interview question

How to implement a dictionary in C++?