ams OSRAM Interview Question

How to implement a dictionary in C++?