Find the time complexity of the following code :
I am uncertain of the time complexity
for( i=1 ; i <= n ; i++ ) { for( j=1 ; j <= n ; j+=i) { some stmts of nlog(n); } }
Aucun commentaire:
Enregistrer un commentaire