Worst-case complexity

In computer science (specifically computational complexity theory), the worst-case complexity measures the resources (e.g. running time, memory) that an algorithm requires given an input of arbitrary size (commonly denoted as n in asymptotic notation). It gives an upper bound on the resources required by the algorithm. The worst-case complexity of an algorithm should be contrasted with its average-case complexity, which is an average measure of the amount of resources the algorithm uses on a random input.

Comment
enIn computer science (specifically computational complexity theory), the worst-case complexity measures the resources (e.g. running time, memory) that an algorithm requires given an input of arbitrary size (commonly denoted as n in asymptotic notation). It gives an upper bound on the resources required by the algorithm. The worst-case complexity of an algorithm should be contrasted with its average-case complexity, which is an average measure of the amount of resources the algorithm uses on a random input.
Has abstract
enIn computer science (specifically computational complexity theory), the worst-case complexity measures the resources (e.g. running time, memory) that an algorithm requires given an input of arbitrary size (commonly denoted as n in asymptotic notation). It gives an upper bound on the resources required by the algorithm. In the case of running time, the worst-case time complexity indicates the longest running time performed by an algorithm given any input of size n, and thus guarantees that the algorithm will finish in the indicated period of time. The order of growth (e.g. linear, logarithmic) of the worst-case complexity is commonly used to compare the efficiency of two algorithms. The worst-case complexity of an algorithm should be contrasted with its average-case complexity, which is an average measure of the amount of resources the algorithm uses on a random input.
Is primary topic of
Worst-case complexity
Label
enWorst-case complexity
Link from a Wikipage to another Wikipage
Algorithm
Algorithmic efficiency
Analysis of algorithms
Average-case complexity
Big O notation
Big-O Notation
Category:Analysis of algorithms
Charles E. Leiserson
Clifford Stein
Computational complexity theory
Computer memory
Computer science
Insertion sort
Introduction to Algorithms
Logarithmic growth
Model of computation
Random access machine
Ronald L. Rivest
System resource
Thomas H. Cormen
Time complexity
SameAs
4xK7D
Complexidade de pior caso
Complexité dans le pire des cas
Legrosszabb eseti komplexitás
m.04zzfdh
Q8037118
Комплексност у најгорем случају
Найгірший випадок складності
پیچیدگی بدترین حالت
ওয়ার্স্ট কেইস পারফরম্যান্স
Subject
Category:Analysis of algorithms
WasDerivedFrom
Worst-case complexity?oldid=1091759914&ns=0
WikiPageLength
3736
Wikipage page ID
20491989
Wikipage revision ID
1091759914
WikiPageUsesTemplate
Template:ISBN
Template:Mvar
Template:Short description