Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Hash Table 8
# @params {string} key
# @returns {boolean}
def has(self, key):
if key in self.keys.keys():
return True
return False
# @returns {string[]}
def getKeys(self):
return list(self.keys.keys())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment