Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(current.getLeft() != null && current.getRight() != null) {
- Object t = max(current.getLeft());
- current.setValue(t);
- parent = current;
- current = current.getLeft();
- target = t;
- //delete(current.getLeft(), t);
- }
Add Comment
Please, Sign In to add comment