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