学习之道 【讨论】『术语表』收集帖,欢迎大家来添砖... ... yield 放弃 zero list 零( 页面)列表 zero page thread 零页面线程 ...
基于2个网页-相关网页
If so, we return zero because the sum of all members of an empty list is zero.
如果是,则返回零,因为一个空列表的所有成员的和为零。
Under the first rule, a zero in the list indicates a break between blocks.
在第一个规则中,列表中的零表示块之间的间断。
The first if statement breaks the recursion if the list is empty, returning zero.
第一个 if 语句在列表为空的情况下中断递归,返回零值。
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个数字,我创建了一个这么长的列表,并且我只是简单的标志这些东西。
应用推荐