For those of you who suggested that swapping key value pairs is a better option. I am afraid to say that you still have to iterate through the dictionnary twice. The process should be something like this:
1 st iteration: convert salaries to numerical values.
2nd iteration : swapping
Finally, access the max value of the swapped dictionnary
I hope this could help.