Challenge: Creating Hash Function
Taak
Swipe to start coding
Now you will create a simple hash function:
- Specify
input_stringandhash_sizeas arguments of thesimple_mod_hash()function. - Use the modulo (
%) operation to create a hash value inside the function.
Note
hash_sizeargument determines the number of possible hash values the function can generate, which is used to keep the hash value within a specific range.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 6
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 5
Challenge: Creating Hash Function
Veeg om het menu te tonen
Taak
Swipe to start coding
Now you will create a simple hash function:
- Specify
input_stringandhash_sizeas arguments of thesimple_mod_hash()function. - Use the modulo (
%) operation to create a hash value inside the function.
Note
hash_sizeargument determines the number of possible hash values the function can generate, which is used to keep the hash value within a specific range.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 6
single