• Here we're doing it as part of one algorithm.

    在这里我们是把它当作算法的一部分来讲。

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

  • A log algorithm typically is one where you cut the size of the problem down by some multiplicative factor.

    对数级复杂度的算法就是指,通过一系列常量级步数的操作,可以将问题的规模。

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

  • And so one of the things we'll look at today is how can we leverage an algorithm, how can we implement an algorithm that at least at first glance the second time we've now seen it feels so obviously better.

    因此,今天我们要学习的一点就是,我们怎样才能影响一个算法,怎样实现一个算法,使你在第二次看它时会觉得,至少比你第一次看到它时更好。

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

  • If I'm running a quadratic algorithm, it'll take one millisecond to complete.

    算法会在1毫秒内完成,如果问题的复。

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

  • They are computationally challenged, meaning, at the time they were invented, they were perfectly good sorting algorithms, there are better ones, we're going to see a much better one next time around, but this is a good way to just start thinking about how to do the algorithm, or how to do the sort.

    他们是相当棒的排序算法,是有更好的算法,我们下一次,就会看一个更好的,但是开始想想,如何完成算法,或者说是如何排序,是一个好的学习方法,恩,再试试吧,如何来排序呢?

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

  • If I'm running a linear algorithm, it'll take one microsecond to complete.

    算法会在1微秒内完成,如果是一个平方级的方法。

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

  • Typical characterization, not all the time, but typical characterization, is an algorithm that reduces the size of a problem by one, or by some constant amount each time, is typically an example of a linear algorithm.

    我们学习过了线性算法,它的典型特征,不是通用的,但是比较典型的特征是,它是逐一减小问题的大小的,或者说是每次减小常数的大小。

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

  • Yeah. Log. It's a good think, but why do you think it's log? Ah-ha. It's not a bad instinct, the length is getting shorter each time, but what's one of the characteristics of a log algorithm? It drops in half each time.

    对了,对数,这是个好想法,但是你们为什么认为是对数呢?,啊哈,这样的本能不错,每次长度都会缩小些,但是对数算法的特性是什么。

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

  • I think one of the classic ones for strings is called the Rabin-Karp algorithm. And it's simply the same idea that you have a mapping from your import into a set of integers.

    我认为字符串哈希,最经典的是Rabin-Karp算法,它只是简单的相同概念,你有一个映射关系将你的输入映射成一组数字。

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

  • N But it's definitely not one and in fact it wasn't N in the case of Selection Sort because remember the algorithm we implemented on stage last week had me going back and forth across the stage selecting on iteration, the smallest person I can find, the smallest number and then putting them into place.

    但在选择排序中,肯定不会是1,也不是,注意,上周我们在这儿,实现的算法中,反复地,迭代进行选择,选出最小的数,然后将其放在合适的位置。

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

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

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

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