But finally, after about three years, my feet toughened up. They just toughened up and all of a sudden I'm walking on gravel, I'm walking on surfaces, and it finally happened.
最终经过约3年,脚板终于坚韧起来,它们坚韧起来,突然间我能在沙砾和地面行走,终于成了。
And if I'm walking down the list, this is probably order of the length of the list s because I'm looking at each element once.
这可能大概就是数组的长度,因为我会遍历数组中的每个元素一次,现在你可能会想,等等,数组已经排好序了。
So if I'm walking down the street and I'm feeling freezing and annoyed
所以如果我沿街散步,我会感到非常寒冷,非常烦躁,
If it's there, I'm done, if not, I keep walking down, and I only stop when I get to a place where the element I'm looking for is smaller than the value in the list., in which case I know the rest of this is too big and I can stop.
并且保持遍历,我只在当当前位置的数组元素,大于目标数时停止,这意味着剩下的元素都比目标元素大,但是其他的情况,我还是要遍历完整个数组。
应用推荐