Right, 'cause that means either I've been handed zero elements which mean there's really no work to be done or I've been handed one element which is a vacuous truth that it's sorted, right?
因为如果给出0个元素,那意味着不需要做任何事,如果给出1个元素,那显然,它是有序的,对吗?
哈佛公开课 - 计算机科学课程节选
应用推荐
模块上移
模块下移
不移动