That is if I can write code that would solve all instances of smaller size strings, then what I just described isPalindrome will solve the larger size one.
然后我会描述如何处理大字符串,事实上这正是我所做的,我希望你能看看这边的这段代码,就是这个。
OK. And then the exponentials, as you saw is when typically I reduce the problem of one size into two or more sub-problems of a smaller size.
好,然后说到指数级,正如你所见,典型的例子是,我讲一个问题分解成为,两个更小规模的子问题。
This shows the greatly magnified compared to the size of a cell because viruses are much, much smaller than cells.
这是一幅放大了许多倍的,细胞图片,因为病毒比细胞小得多的多
We are expecting to see that it decreases because it's feeling a stronger pull, all the electrons are being pulled in closer to the nucleus, so that atomic size is going to get smaller.
我们将看到它是减小的,因为电子会感受到越来越强的吸引力,所有的电子将会被原子核拉得越来越近,所以原子半径将越来越小。
I have sorted with the smaller problem 1 because that smaller problem right now is of size 1 and so it's sort of obviously the case that this cup is now sorted.
对这个较小的问题我已经排好序了,因为在这个小问题中只有1个元素1,那么很明显,这个杯子已经是有序的了。
That this recursive call had two sub-problems of a smaller size, not one.
而不是一个,这会有很大的不同。
It says while the index is smaller than the size - of the list, I'm not at the end of the list and I don't have an answer yet, check.
当然是如果我还没检索到目标数的话,因此我会去看看是不是,这里真的看不情。
How do I reduce this to a smaller-size problem in the same instant?
我怎么能把这个问题,缩小成更小规模的问题呢?
So when we talk about the size of multi-electron orbitals, they're actually going to be smaller because they're being pulled in closer to the nucleus because of that stronger attraction because of the higher charge of the nucleus in a multi-electron atom compared to a hydrogen atom.
所以当我们讨论,多电子轨道的尺寸,它们实际上会变得更小,因为多电子原子的原子核,相比于氢原子,有更高的电荷量所以,有更强的吸引力,所以可以拉的更近。
应用推荐