updated line 46 in Hashmap, lines 33-34 in 2-3 Tree, per feedback from Xiaochen
This commit is contained in:
@@ -43,6 +43,7 @@ class HashMap:
|
||||
if self.map[key_hash][i][0] == key:
|
||||
self.map[key_hash].pop(i)
|
||||
return True
|
||||
return False
|
||||
|
||||
def print(self):
|
||||
print('---PHONEBOOK----')
|
||||
|
||||
Reference in New Issue
Block a user