For a given input size , the best case of an algorithm is an input of size on which its cost is the smallest, and the worst case one on which it is the largest. The cost in the worst case is a promise: no input of that size costs more.
Computer Science · المسرد
ما معنى Best case, worst case؟
يُعرف أيضًا باسم: best case · worst case