Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Tree t = new TreeImpl();
- int[] array = null;
- for(int i=0; i<11; ++i) {
- array = new int[i];
- for(int q=0; q<array.length; ++q) {
- array[q] = q+1;
- }
- t.setTree(array);
- System.out.println(t.toString()+"\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement