presentación-PDF
presentación-PDF
presentación-PDF
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Consideraciones sobre la eficiencia de<br />
un programa.<br />
public boolean Pertenece2 (int [] A, int X)<br />
{<br />
int i = 0;<br />
while (i < A.length - 1 && A[i] != X)<br />
i++;<br />
return A[i] == X;<br />
}<br />
Tiempo de Ejecución método Pertenece2 O(n)