Skip to content

Instantly share code, notes, and snippets.

@lironsade
Created May 19, 2017 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lironsade/c63d0cdd5217ab9b5b1f18131a099497 to your computer and use it in GitHub Desktop.
Save lironsade/c63d0cdd5217ab9b5b1f18131a099497 to your computer and use it in GitHub Desktop.
static boolean test9() {
int[] a = {4,5,6,7,8,9};
int i = 0;
AvlTree b = new AvlTree(a);
boolean flag = true;
for (int x : b) {
if (x != a[i])
flag = false;
i++;
}
return flag;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment