There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
If we want to store keys and values. Can’t we just use dictionaries instead of Hash tables? I mean even dictionaries can store one value for one key and it is easier to setup.
If you mean Python dictionaries, they are implemented using hash tables already- it’s just that you don’t have to do all that bit because Python did it for you
I think a mistake was made in this exercise. Following the hashing function of adding up the 'a’s and the 'e’s in the album title, shouldn’t the second album listed," The Low End Theory," give a hash value of 3, not 2?
As I was typing my question, I realized the answer. However, I wanted to post it anyway with this reply to help anyone else out that was confused by this. The hash function is literally only counting 'a’s and 'e’s. It is not counting any capital letter 'A’s and 'E’s.
@bmw999@patrickd314
this is the first exercise that I don’t understand the intructions really well. Even the question and answer is already made, concerning , I qoute : Can someone explain how they go from 8 -->0 , 2–>2 , 3–>3 and 5 –
I can figure out : Midnight Marauders 3 - 3 - 1993
I don’t get the Hash mod 3, when dividing 3/4 ? And how can I calculate 3%4 on a calculator? How to get ouput 3? I can not make a simple math out of it. May sound a bit…well anyway appreciate it to get my head simple around it…Thanks!