Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Node {
- private int rank;
- private int x;
- private Node left;
- private Node right;
- public Node(int x, int rank) {
- this.x = x;
- this.rank = rank;
- this.left = null;
- this.right = null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement