Please help me for this complexity of algorithm : I have 2 questions for algorithm analysis. Can please anyone tell me, what is complexity of:
first:

    For(int i=1; i<n; i=i*i*i)
    {
      //something O(1)
    }

Second:
n/1 + n/2 + n/3 +...+ n/n

Please help me with explanation.. Thank you

