Code: Select all

`for (int i = 0; i < n; i++)`

{

for (int j = 0; j < 2*n; j++)

{

System.out.println ("Hello!");

}

}

and

Code: Select all

`for (int i = 0; i < n; i++)`

{

for (int k = 1; k < n; k*=2)

{

System.out.println("Hello!");

{

}

So my question is- what's the wrst case analysis, and why? Very brief is fine. I'm taking the class online and have just been crazy busy. Any help is appreciated!