OK. The next largest element has to end up in the second last spot. Et cetera. All right, so it's called bubble sort because it does this bubbling up until it gets there.
好的,下一个最大元素又,能跑到倒数第二的位置,等等如此,好的,这称为冒泡排序,因为这个泡泡一直冒到他自己的位置。
Okay, I need a second volunteer for reasons that will be clear in a second.
好的,我还需要第二名志愿者,原因过一会告诉大家。
应用推荐