Example #1
0
        public void Remove(Key key)
        {
            LinkedList3 <Key, Value> list = hashtable[Hash(key)];

            if (list.Contains(key))
            {
                list.Remove(key);
                N--;
            }
        }
Example #2
0
 //O(n)
 public void Remove(Key key)
 {
     list.Remove(key);
 }