40 Algorithms Every Programmer Should Know
上QQ阅读APP看书,第一时间看更新

The best case

In the best case, the data given as input is organized in a way that the algorithm will give its best performance. Best-case analysis gives the upper bound of the performance.