• If there are less than two elements there I just check one or both of those to see if I'm looking for the right thing.

    列表里是否剩余超过两个元素?,是否剩余不足两个元素,这里面我就挑一两项来检查下是否运行正常。

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

  • Well, it turns out that if you want to check two conditions and you only care that one of them is true or the other one is true.

    好的,结果是如果你想要核对两个条件,你只关心其中一个是正确的,或另外一个是正确的。

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

  • There's the base case. If it's longer than one, what do I want to do? Well I'd like to check the two end points to see are they the same character? And if they are, then oh, I just need to know is everything else in the middle a palindrome?

    如果只有一个元素也是回文,这是基本事件,如果比一个长的话那么我应该怎么做?,我将会查看两头是否相同?,如果是的,我只要知道中间剩下的部分是不是回文即可?

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

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

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

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