Amazon Interview Question

design a bidirectional map. did not have to run my code