Commit ae58f00d by Pedro Rolon

Se arregló error de la función indiceDeReversa

parent e474a998
......@@ -207,7 +207,7 @@ public class MyClass {
}
private int indiceDeReversa(int elemento, int[] vector){
for (int i = vector.length-1; i <=0; i--) {
for (int i = vector.length-1; i >=0; i--) {
if(vector[i]==elemento) return i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment