Hello I am working on a morse code application using 'HasMap'. The map contains key value pairs which map letters to morse code
I can get the value for the given key like this => value = map.get(key);
Now I need to go in the other direction, how can I get the key for a given value? In other words how can I do something like
key = map.get(value);
I can translate from English to morse code but not the reverse.