 Challenge: Creating Hash Function
Challenge: Creating Hash Function
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 5 Challenge: Creating Hash Function
Challenge: Creating Hash Function
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single