OK, that's not so bad. Moving a stack of size 2 if I want to go there, I need to put this one temporarily over here so I can move the bottom one before I move it over.
好,并不那么难,移动上面两个圆盘的话2,我需要把最小的盘子,临时先放到多余的柱子上来,这样才能在把它移过来之前,把最底下的盘子放到目标柱子上。
Then you take--you move it over here.
然后你把杯子拿到这边
So you can see if you take phi, and you move it over 90 degrees, we're right here in the y z plane.
你们可以看到,把phi转到90度,它就是yz面。
We've seen the price of oil, lately, move all over the map. It went up to $100 recently and it was just as late as late 1990s that it was under $20 and people just don't know where it's going to go.
我们都能看到现在石油的价格,一路飙升,最近达到每桶一百美元,而在上世纪九十年代末,每桶石油还不到二十美元0,人们根本无法预想石油价格,还会飙升到什么地步。
It's going to let j run over the length of the list all right, so it's going to start at some point to move down, and then it's going to let i run over range, that's just one smaller, and what's it doing there?
就在这里,会做什么呢?,我们让j遍历这个列表,好的,它要从某一定开始移动,然后让i也跑遍整个范围,就是比之要小一,会发生什么?
If I want to move this stack here, I'm going to take a stack of size n minus 1 move it to the spare spot, now I can move the base disk over, and then I'm going to move that stack of size n minus 1 to there. That's literally what I did, OK?
如果我想移动这些圆盘,我先把从n-1个圆盘1,移动到多余的柱子上去,这样我就能把最底下的圆盘放到这儿了,然后再把从n-1个圆盘放到这儿来,这就是确切的我怎么做的对不对?
应用推荐