rebellion
rebellion copied to clipboard
Bidirectional dictionaries
A bidirectional dictionary can map keys to values in constant time, and values back to their keys in constant time. The same value cannot be mapped by more than one key. Requested in this stackoverflow question.