Example 1
1 <= key.length <= 10key consists of lowercase English letters.It is guaranteed that for each call to dec, key is existing in the data structure.At most 5 * 104 calls will be made to inc, dec, getMaxKey, and getMinKey.Example 1
1 <= key.length <= 10key consists of lowercase English letters.It is guaranteed that for each call to dec, key is existing in the data structure.At most 5 * 104 calls will be made to inc, dec, getMaxKey, and getMinKey.