In fact, better than that, this guy is already sorted as well because I whittled that problem down to size 1.
事实上,更好的结果是这个杯子也是有序的了,因为我已将这个问题的规模削减到只有1个元素。
So now thankfully I found the lightest one which happens to be this guy here and so what's just happened?
现在我找出了最轻的,它就是,这个杯子,那么刚刚发生了什么呢?
What do I now need to do in order to sort the whole left half? Compare them all.
为了对左半部分的4个杯子排序,我需要做什么呢?,进行比较。
And so I repeat, and so I repeat and one of the visuals meant to be conveyed by this-- this scale here is now I know that this guy is the smallest.
一次又一次地重复这样的比较,这个天平在此传达的信息是,我知道了这个杯子是最轻的。
So this is a little scale that if you put something here or here it's supposed to tell you which one is heavier and I also have 8 cups here.
这是一个小天平,如果你在这边,或者这边放一些东西,它就会显示哪边的更重,我这有8个杯子。
So supposed I did want to find the smallest cup here.
假如我要找出这里最轻的杯子。
It was the right hand side that I ignored for the moment.
我暂且先忽略右手边的杯子。
应用推荐