And if that's true is everything in the string, starting at the first element and removing the last element, a palindrome?
如果是相同的话,是不是字符串中的所有从第一个元素开始,并且删除最后一个元素后?
Otherwise I'm going to check to see is the first and last, there's that - 1 indexing, is the first and last element of the string the same?
是第一个还是最后一个,这就是这边-1的索引内容,这个字符串的第一个,和最后一个的内容是否相同呢?
But I can also ask for parts of this. So I can, for example, say give me the first element of s1 string 1, s 1. Ah, that's exactly what we would have thought if this was represented as an ordered sequence of things.
然后返回一个长字符串,我也可以,取字符串的一部分,例如,我可以要求返回给我字符串,的第一个元素,啊,这证明我们之前,认为的它是一个有序的字符序列的想法。
应用推荐