AVL tree/Java: Difference between revisions

m
Fixed syntax highlighting.
No edit summary
m (Fixed syntax highlighting.)
 
(5 intermediate revisions by 3 users not shown)
Line 1:
== =Project ===
 
[http://gigasopht.net/Html/English/Java/index.html Calculus] has many more classes included.
See [https://sourceforge.net/projects/isharpjava/ I#] for the complete projects already made up.
I# has many more classes included. The full source code is available.
 
== =Code ===
 
<langsyntaxhighlight lang="java">import java.util.Iterator;
import java.util.Comparator;
import java.io.*;
Line 230 ⟶ 229:
root.Right = x.Left;
x.Left = root;
root =return x;
return root;
}
 
Line 246 ⟶ 243:
root.Left = x.Right;
x.Right = root;
root =return x;
return root;
}
Line 1,427 ⟶ 1,422:
}
 
</syntaxhighlight>
</lang>
9,483

edits