I have the following code:
sum = 0 ;
i = n
while( i ≥ 1){
for ( j = 0 ; j < n^4 ; j++ ){
sum++ ;
}
i = i/3 ;
}
I have to find the time complexity in Θ notation in terms of n, and I'm not sure on how to approach this.