Advertisement
Guest User

Untitled

a guest
Sep 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1.     public static void main(String[] args) {
  2.         AVLTree<Integer> test = new AVLTree<>();
  3.         test.insert(10);
  4.         test.insert(30);
  5.         test.insert(20);
  6.         test.insert(40);
  7.         test.insert(50);
  8.         test.insert(8);
  9.         test.insert(32);
  10.         test.insert(11);
  11.         test.insert(13);
  12.         test.insert(58);
  13.  
  14.         for(Integer each : test){
  15.             System.out.println(each);
  16.         }
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement