選択アルゴリズム
Sign in to savealgorithm for finding kth smallest number in a list or array
Article · 日本語
選択アルゴリズム(英: selection algorithm)とは、数列から k 番目に小さい(あるいは k 番目に大きい)数を探すアルゴリズムである。最小値、最大値、中央値を探すアルゴリズムは選択アルゴリズムの特殊なものと言える。これらを「順序統計量」とも呼ぶ。比較的単純な最小値、最大値、k 番目に小さい値を求めるアルゴリズムとしては、平均で線形時間のものが知られている。k 番目に小さい値や一度に複数の順序統計量を最悪でも線形時間で探すことも可能である。選択は最近傍探索問題や最短経路問題のようなもっと複雑な問題の部分問題である。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
maxima and minima
Entity
computer science
Entity
arithmetic
Entity
International Standard Book Number
Entity
algorithm
Entity
Python
Entity
Lewis Carroll
Entity
Q2407
Entity
digital object identifier
Entity
Donald Knuth
Entity
MATLAB
Entity
data structure
Entity
parity
Entity
median
Entity
permutation
Entity
bibcode
Entity
Q118398
Entity
Q575650
Entity
quicksort
Entity
array data structure
Entity