May 2017
Intermediate to advanced
310 pages
8h 5m
English
There are essentially three things that characterize an algorithm's runtime performance. They are:
To calculate each of these, we need to know the upper and lower bounds. We have seen a way to represent an algorithm's runtime using mathematical expressions, essentially adding and multiplying operations. To use asymptotic analyses, we simply create two expressions, one each for the best and worst cases.