diff --git a/lectures/22_hash_tables_I/README.md b/lectures/22_hash_tables_I/README.md index 05b9975..39b595d 100644 --- a/lectures/22_hash_tables_I/README.md +++ b/lectures/22_hash_tables_I/README.md @@ -159,9 +159,10 @@ satisfy the second. - Another example of a dangerous hash function on string keys is to add or multiply the ascii values of each char: ```cpp unsigned int hash(string const& k, unsigned int N) { -unsigned int value = 0; -for (unsigned int i=0; i