These things run for variable amounts of time because they take input, a list of size of some amount.
而这一段的执行时间是可变的,因为它们需要输入一个包含一些元素的列表。
Well, let's call this same algorithm, on input of four elements.
我们调用相同的算法,其输入是4个元素。
On input of two elements, is less than 2?
输入是2个元素,小于2吗?
So given some input of N elements, first, if N is less than 2, I return immediately.
给出N个元素的一些输入,首先,如果N小于,就立即返回。
应用推荐