Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- AVLTree<Integer> test = new AVLTree<>();
- test.insert(10);
- test.insert(30);
- test.insert(20);
- test.insert(40);
- test.insert(50);
- test.insert(8);
- test.insert(32);
- test.insert(11);
- test.insert(13);
- test.insert(58);
- for(Integer each : test){
- System.out.println(each);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement