Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Cuál de los siguientes bucles expresados en Java tiene un tiempo de ejecución O( n ) ?
for(i=0; i<n; i*=2) <instrucción con O(1)>
for(k=n; k<=n; k++) <instrucción con O(1)>
for(i=0; i<n; i++) for(j=i; j<n; j++) <instrucción con O(1)>
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!