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

Roza - Cedar #8

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

Roza - Cedar #8

wants to merge 1 commit into from

Conversation

haset-19
Copy link

anagram, frequency functions

Hash Table Practice

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Why is a good Hash Function Important? for optimal computation, we will achieve O(1) for insertion, search and delete
How can you judge if a hash function is good or not? if it fulfills certain conditions: distributes keys uniformly, has quick look up, keys that are close will have values far apart
Is there a perfect hash function? If so what is it? no, it is based on use case
Describe a strategy to handle collisions in a hash table separate chaining, linear probing, quadratic probing, double hashing
Describe a situation where a hash table wouldn't be as useful as a binary search tree when duplicate keys, and when ordered list
What is one thing that is more clear to you on hash tables now we can solve a lot of problem with minimum time

anagram, frequency functions
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