Skip to content

Instantly share code, notes, and snippets.

Embed
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
else:
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
You can’t perform that action at this time.