Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time - Lola #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Time - Lola #38

wants to merge 1 commit into from

Conversation

ubeninja77
Copy link

Hash Table Practice

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Why is a good Hash Function Important? a good hash function makes searching and inserting of elements efficient; distributing items to avoid collisions
How can you judge if a hash function is good or not? minimizes collisions but would be able to effectively handle the collisions when they occur
Is there a perfect hash function? If so what is it? no
Describe a strategy to handle collisions in a hash table chaining items (linked lists) and/or liner probing
Describe a situation where a hash table wouldn't be as useful as a binary search tree when you need to iterate through data in a set order or to find the max/min values
What is one thing that is more clear to you on hash tables now ways a hash table can handle collisions and a more concrete understanding if hash table implementation (or at least i hope)

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.

1 participant