And if that's true is everything in the string, starting at the first element and removing the last element, a palindrome?
如果是相同的话,是不是字符串中的所有从第一个元素开始,并且删除最后一个元素后?
And then hash character takes in any string or character, single character, gives me back a number. Notice what I do.
然后哈希接受任何字符串或字母,单个字符,返回给我一个数字,注意我要做什么。
And so there are only two kinds of waves that can exist on this violin string, standing or traveling.
由于这只有两种波,可以存在在这条弦上,驻波或行波。
Is it is just like a string of words or-- >> What does-- what does what mean? A string?
是字符串?单词?还是?,>>你刚刚说什么?,一个字符串?
The head of a string of pigs appeared, snout-up, over the ditch, and he had to screech to a stop and watch the rear of the last pig disappear shaking into the ditch on the other side.
这时候出现了一群猪,仰着鼻子走过水渠,他只好用一个急刹车,目送着最后一只猪大摇大摆地跨过水沟,消失在另一端。
Here is the pitch in--of--a string an octave higher so you can see it this way. As you probably know, if you take a long string and pluck it, it's going to take that long string a long time to pass that sort of cycle, if you will, just one pass through that cycle.
这也是个音高,一个高八度的音弦,你可以这样这样看 你们可能知道,如果你拨动长弦,长弦要经过很长时间,才能完成一个震动周期,如果你想,可以尝试下
It says if this is a string of length 0 or 1, I'm done. I'm going to return the answer true.
我就会返回答案为真,否则的话我得判断它。
Notice what it says. I'm going to pass in 1 a string, call it s, binds it locally, and it says the following.
然后看接下来的内容,接下来说的是如果这个字符串的长度等于,那么我就成功了。
The second thing is, just as in the case of the violin string, the wave equation, as posed by Schrodinger, has a plurality of solutions.
第二,就那个小提琴弦而言,波动方程,被薛定谔所提出的,有许多解法。
But really, the computer's just so fast I'm drawing the same string with just a slightly different number again and again after going to sleep one second at a time.
但是真实地,这个计算机到现在为止,我一次又一次用稍微不同的数字,绘画了相同的字符串,在睡眠1秒钟之后。
If somewhere later on in the code it shifts to string, I might not be manipulating that and getting actual values out, but not what I wanted, and it's going to be really hard for me to chase it back.
然后后面的一些代码,把变量类型变为了字符串,我可能不会通过实际操作,去取得实际的变量的类型,但是这并不是我想要的类型,而且对我来说把类型,变回去也很困难。
Just the first one or more generally the address of the first one and then, man, I'll just figure it out from there where the rest of the letters are because by definition of a string, they're back to back to back.
只需要第一个字节的地址,然后,我可以指出之后的,剩下的字母,因为通过一个字符串的定义,它们是紧邻的。
There's a function in purple, there's a string in green, and in black I have the assignment statements.
还有个粉色的方法,绿色的字符串,赋值声明是黑色的。
You can't just take a quoted string back to back with another quoted string so you'd get some kind of compiler error.
你不能让一个引起来的字符串跟另一个引起来的字符串,背靠背,这样编译就会出错。
string name= On the left hand side string name equals, well, name what would we call this thing called name, in general, using last week's nomenclature?
左边的,先等等,我们称之为,一般是根据系统命名法?
other people had solved that problem for me, and this thing between quotes, we'll start calling a string.
至于如何实现的别人已经解决了,这个在引号之间的东西叫字符串。
应用推荐