Besonderhede van voorbeeld: 7932855684752413159

Metadata

Author: WikiMatrix

Data

English[en]
There are O(n)-time (worst-case linear time) selection algorithms, and sublinear performance is possible for structured data; in the extreme, O(1) for an array of sorted data.
Chinese[zh]
已知存在O(n)(最坏情况下为线性时间)的选择算法,还有对于结构化数据可能有次线性的表现的算法;在极端的情况下,对于已排序数据是O(1)。

History

Your action: