diff --git a/datastructure/hashmap/hashmap.go b/datastructure/hashmap/hashmap.go index 95235c0..fe4cc0e 100644 --- a/datastructure/hashmap/hashmap.go +++ b/datastructure/hashmap/hashmap.go @@ -79,10 +79,6 @@ func (hm *HashMap) putValue(hash uint64, key, value any) any { } // Delete key value in hashmap -// func (hm *HashMap) Delete(key any) { -// hm.deleteValue(hm.hash(key)) -// } - func (hm *HashMap) Delete(key any) { hash := hm.hash(key) node := hm.table[hash]