for (int i=1; i<n; i++)
for (int j=1; j<i; j++)
for (int k=j; k<n; k++)
cout << "Hello world" << endl;
I know the time complexity is obtained by looking at how many times this iterates to produce Hello world
. I am confused on whether time complexity is O(n3) or Θ(n3)?