I read this question the definition of Big-O notation .But I have less than 50 reviews, so I hope someone helps me.
My question about this sentence:
There are many algorithms for which there is no unique function g such that complexity is both O (g) and Ω (g). For example, insertion sorting has a lower bound On () that cannot find anything less than n², and an upper bound Ω from Ω (n).
for large n, O (n²) is the upper boundary, and Ω (n) is the lower boundary, or maybe I misunderstood? can someone help me?
has a lower boundary Big-O O (n²)
, ( big-O ), , , :
Big-O - .
f(n) ϵ O(g(n)) , |f(n)| <= k|g(n)| n ( ).
f(n) ϵ O(g(n))
|f(n)| <= k|g(n)|
n
, , f(n) = n2 (, , ). n2 ϵ O(n2), n2 ϵ O(n3) n2 ϵ O(n4) n2 ϵ O(n5) ....
f(n) = n2
n2 ϵ O(n2)
n2 ϵ O(n3)
n2 ϵ O(n4)
n2 ϵ O(n5)
, g(n), , n2.
g(n)
n2
, , - , , , .
. , .
, ?
, .
Big-O big-Ω .
Insertion , O (n 2). Ω (n) .
Source: https://habr.com/ru/post/1784500/More articles:C # displays images randomly and one by one - c #enumeration using attribute flags - enumsAddress value 'in the System.map file - linuxDefinition of Big-O Notation - big-oПрокрутка строк в Silverlight DataGrid - c#can csharp classes "inherit" XML documentation, such as java classes? - javaorg.hibernate.hql.ast.QuerySyntaxException - javaEvent when user changes font size in browser? - javascriptкак установить пользовательскую горизонтальную разделительную линию в меню Android? - androidCONFIGURATION HELP - mongodbAll Articles