- Python Data Structures and Algorithms
- Benjamin Baka
- 73字
- 2021-07-09 19:45:09
Theta notation (ϴ)
It is often the case where both the upper and lower bounds of a given function are the same and the purpose of Theta notation is to determine if this is the case. The definition is as follows:
Although Omega and Theta notations are required to completely describe growth rates, the most practically useful is Big O notation and this is the one you will see most often.