# To many loops

 1 2 3 4 for(int i = 0; i < n; i++) for( int j = 0; j < n * n; j++) for(int k = 0; k < j; k++) sum++; 

What is the time complexity of the code snippet shown above?

×