O: Difference between revisions

4 bytes removed ,  3 years ago
m
added a section header.
m (aligned some output.)
m (added a section header.)
Line 1:
[[Category:Encyclopedia]]
 
''';Complexity'''.:
In computer science the notation O(f(n)) is used to denote an upper limit of the asymptotic behavior of an algorithm, usually its complexity in terms of execution time or memory consumption (space). Here ''f'' is a function of ''n'', often a power or logarithm. ''n'' describes the size of the problem. The meaning of O(f(n)) is that the complexity grows with n at most as f(n) does.