Refer this notebook for more understanding. I have created a notebook for visualizing the time compelexity for different functions like linear, quadratic, polynomial, polylogarithmic, exponential. It will give you an idea how the growth varies by changing the value of "n". I hope this notebook helps.