So it doesn't matter how big the dictionary is, you can instantaneously retrieve the value associated with the key. Extremely powerful.
因为你可以在线性时间,内得到想要的键对应的值,这太强大了。
Dictionaries are implemented using a magic technique called hashing, which we'll look at a little bit later in the term, which allows us to retrieve keys in constant time.
散列法的内容,此方法可以让我们在线性,时间内检索到键,因此字典的大小并不重要了。
And I do that very precisely because it'll teach you a little bit about how easy or difficult it is to do it and what kind of information you retrieve from a dietary assessment.
我这样要求是因为,这能教给你,做评估的难易程度,以及你们能从饮食评估中得到何种信息
No way to retrieve it.
也没有办法找回。
应用推荐