I have sorted with the smaller problem 1 because that smaller problem right now is of size 1 and so it's sort of obviously the case that this cup is now sorted.
对这个较小的问题我已经排好序了,因为在这个小问题中只有1个元素1,那么很明显,这个杯子已经是有序的了。
And so this begs the question, even in the context of these cups, how can we possibly do better if at the end of the day in order to figure out if two cups or if two people or if two ints inside of an array are bigger or smaller than one another it feels like we have to do this comparison work anyway.
这样就回避了问题的实质,从这些杯子的相互关系来看,我们怎样才能更有效地,找出序列中比其他元素,都大或都小的两个杯子,两个人,两个数,看起来我们无论如何都得,做比较的工作。
应用推荐