Skip to content

Hash table - #28

Open
vbenavente wants to merge 10 commits into
masterfrom
hash_table
Open

Hash table#28
vbenavente wants to merge 10 commits into
masterfrom
hash_table

Conversation

@vbenavente

Copy link
Copy Markdown
Owner

No description provided.

Comment thread src/hash_table.py Outdated

class HashTable(object):
"""Implement a hash table class in Python."""
def __init__(self, iterable=None):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your HashTable's init should take a "size" argument, which determines the number of buckets. Currently, you're arbitrarily setting this to 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants