B 4.1.6 Worksheet 2 Python Answers
1. Hashing Function A: 2. Hashing Function B: 3. Thinking Question The problem is that many different words have the same length (e.g., "cat", "dog", "sun" all have length 3). This means they would all try to go into the same slot (index 3), leading to lots of collisions.