问题
In the MIT OpenCourseWare YouTube lecture on hashing, the professor gives an example of two strings causing a hash collision in Python:
>>> hash('\0B')
64
>>> hash('\0\0C')
64
Why does this happen?
来源:https://stackoverflow.com/questions/37127946/hash-collision-with-2-strings-in-python