format codes!
This commit is contained in:
parent
79c88b3c4a
commit
dea0b4ce77
|
|
@ -6,11 +6,12 @@ public class Principal {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
AVL avl = new AVL();
|
AVL avl = new AVL();
|
||||||
int array[] = {1,2,3,4,5,6,7,8,9,10};
|
int array[] = {4,35,10,13,3,30,15,12,7,40,20};
|
||||||
for(int item: array){
|
for(int item: array){
|
||||||
|
System.out.println("Inserindo -> " + item);
|
||||||
avl.inserir(item);
|
avl.inserir(item);
|
||||||
|
avl.caminharPre();
|
||||||
}
|
}
|
||||||
avl.caminharPre();
|
|
||||||
} catch (Exception erro) {
|
} catch (Exception erro) {
|
||||||
System.out.println(erro.getMessage());
|
System.out.println(erro.getMessage());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue