closed by
218 views
1 votes
1 votes
closed with the note: duplicate QS: https://gateoverflow.in/100616/algorithm

What is the complexity of this code..??

closed by

Related questions

0 votes
0 votes
2 answers
1
srestha asked May 6, 2019
1,286 views
$1)n^{2019}=O\left (n^{2020} \right )$$2)O(n^{2019})=O\left (n^{2020} \right )$Which one is correct??If $1)$ is correct, why $2)$ not correct?
0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
4
pbhati asked Jun 12, 2018
338 views
What is the time complexity of the following piece of code in the terms of n?$Main()${$n=2^{2^k};$$for(i=1; i<=n; i++)${ $j=2;$ $while(j<=n)$ { $j=j^2;$ }}...