Skip to content

Commit a432843

Browse files
author
whoparthgarg
committed
time complexity order
1 parent d498b30 commit a432843

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Time Complexity Order.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ using namespace std;
33
int main()
44
{
55
/*
6+
67
Time Complexity Order :
78
89
c < log(logn) < logn < n^(1/3) < n^(1/2) < n < n(logn) < n^2 < n^3 < 2^n < n^n
@@ -12,6 +13,7 @@ int main()
1213
let f(n) and g(n) be two function such that { f(n),g(n),n >=0 }
1314
1415
if f(n)/g(n) equals 0 for n->INFINITY then g(n) is growing faster than f(n)
16+
1517
*/
1618
return 0;
1719
}

0 commit comments

Comments
 (0)