A bi-directional dictionary is one that provides mapping in both directions. In other words, if the value for the key “a” is “A”, then the value for the key “A” will be “a”. This article shows a simple way for creating one.

Leave a Reply

Your email address will not be published. Required fields are marked *