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 · Begrippenlijst
Wat is Best case, worst case?
Ook bekend als: best case · worst case