Are you sure you didn't want to do for i in range of list, rather than for i in list?
你真的打算这么做吗?你确定你不是,想在链表范围内定义i而不是定义链表i?
So, what's the idea? If I know what my hash function does, it maps, in this case characters into a range zero to 256, which is zero to 255, I create a list that long, and I simply mark things.
我知道我的哈希函数做什么,在这个例子中,它将字母,映射成0到255的256个数字,我创建了一个这么长的列表,并且我只是简单的标志这些东西。
应用推荐