leetcode/src/main/java/com/my/MyHashMap.java
/** Removes the mapping of the specified value key if this map contains a mapping for the key */
Removes the mapping of the specified value key if this map contains a mapping for the key
Removes the mapping of the specified value key if this map contains a mapping for the key
public void remove(int key) {
        int y = key%1000000;
        if(values[y]!=null ){
            values[y] = null;
        }
    }
public void remove ( int key ) { int y = key % 1000000 ; if ( values [ y ] != null ) { values [ y ] = null ; } }
Removes the mapping of the specified value key if this map contains a mapping for the key
Removes the mapping of the specified value key if this map contains a mapping for the key