• Well the idea of a hash, in fact, what's called a hash function is to have some way of mapping any kind of data into integers.

    我要怎么做?实际上想法还是哈希,通过一个哈希函数,把任何种类的数据都映射成整数。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • The good news is the elements in any one spot in a hash table are likely to be a small number, three, four, five.

    好的一点是在哈希表中,任何一个存贮点上的元素数据是很小的,三个,四个,五个。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • y >> Yeah. We allocated the pointer y but we never set it to point to a pointee.

    >,是的,我们分配了指针y,但是,没有指向任何数据

    哈佛公开课 - 计算机科学课程节选

  • When we're just interacting with idol, with the interactive editor or sorry, interactive environment if you like, that's what you expect. What's happening is that we're typing in something, an expression it doesn't know how to deal. It's raising the exception, but is this simply bubbling up at the top level saying you've got a problem.

    就发生了其中之一是吧,当你在交互数据处理或者是在交互编辑器,抱歉,任何你喜欢的交互式环境中,你可能会遇到这些,如果你在输入什么内容,譬如一个它不知道怎么处理的表达式,它就会报一个异常,但这是否是简单的,把你遇到的问题冒到最顶层呢?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So we're to assume we can get to any piece of data, any instruction in constant time, and the second assumption we're going to make is that the basic primitive steps take constant time, same amount of time to compute. Again, not completely true, but it's a good model, so arithmetic operations, comparisons, things of that sort, we're all going to assume are basically in that in that particular model.

    因此如果我们假设在恒定的时间内,我们可以取得任何一块数据,任何一种数据结构的话,我们要做的第二个假设就是,基本的原始操作计算花费的时间是恒定的,这个假设也不是完全正确的,但这个模型其实挺不错的,因此算法操作,比较,这一类的事情,我们在这个特定的模型中都假设是基本的,操作,花费的时间是恒定相同的。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定