哦是的,没变化,如果你看看我的代码的话。
回顾清单5中的代码片段,看看我们什么意思。
我们建议您阅读源代码,看看我们所讨论的理论如何实现为可运行的代码。
We recommend you browse the source and see the ideas we have been discussing implemented as runnable code.
I've written a little for loop, which is going to iterate over all of the elements in the list.
让我们先看看这儿的代码,我已经写了一个循环语句,用来迭代处理数组中所有的元素。
Right. If you look at the rest of that code, gee, it looks a lot like what I had elsewhere.
好了如果你看看剩下的代码,天呐,看上去就像我在别的地方写过的。
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.
然后我会描述如何处理大字符串,事实上这正是我所做的,我希望你能看看这边的这段代码,就是这个。
应用推荐