Skip to content

Commit

Permalink
format codes!
Browse files Browse the repository at this point in the history
  • Loading branch information
bigheadbh committed Nov 23, 2021
1 parent 79c88b3 commit dea0b4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fonte/u08 Balanceamento de árvores/java/avl/Principal.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ public class Principal {
public static void main(String[] args) {
try {
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){
System.out.println("Inserindo -> " + item);
avl.inserir(item);
avl.caminharPre();
}
avl.caminharPre();
} catch (Exception erro) {
System.out.println(erro.getMessage());
}
Expand Down

0 comments on commit dea0b4c

Please sign in to comment.