Amazon interview question

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