I'm looking for a place 我寻找一个地方 ; 我在找一个地方
I'm fed up with living with my parents, so I'm looking for a place of my own.
我腻烦跟父母同住了,所以正在找一个属于自己的住处。
I'm looking for a place to stay.
我正在找一个可以逗留的地方。
When I'm looking for a place, this is one of my first considerations.
当我在寻找一个住处或工作场所的时候,这一点是我首要考虑的因素之一。
But if, at any point, I get to a place in the list where the thing I'm looking for is smaller than the element in the list, I know everything else in the rest of the list has to be bigger than that, I don't have to bother looking anymore.
比当前位置数组的元素要小,我也就知道后面的数肯定,也都比我的目标数要大了,我就不用再继续进行下去了,这意味着目标数不在这个数组中,我就可以退出了。
So I'm always looking for a place to keep my camp.
所以我总是要寻找可以宿营的地方。
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.
并且保持遍历,我只在当当前位置的数组元素,大于目标数时停止,这意味着剩下的元素都比目标元素大,但是其他的情况,我还是要遍历完整个数组。
应用推荐