You are on page 1of 1

public static void eliminarRepetido(int v[]){ 1

int f[]=new int[v.length]; 1


int aux[]=new int[v.length]; 1
int ele=0; 1
int z=0; 1
for(int i=0;i<v.length;i++){ n+1
int c=0; 1
ele=v[i]; n-1
aux[i]=ele; n+1
for(int j=0;j<aux.length;j++){ aux * n
if(ele==aux[j]){ 1
c++; 1
}
}
if(c==1){ 1
f[z]=ele; n+1
z++; 1
}
}
mostrar(f); 1
} 4n+13+auxn
t(n,aux)∈O(n)

You might also like