0 / 0 Settings
<<<>>>

  • private BSTNode inserthelp(BSTNode rt, Comparable e) {
  • if (rt == null) return new BSTNode(e);
  • if (rt.value().compareTo(e) >= 0)
  • rt.setLeft(inserthelp(rt.left(), e));
  • else
  • rt.setRight(inserthelp(rt.right(), e));
  • return rt;
  • }
Created with Raphaƫl 2.1.2
37
24
42
7
32
2
42
120
40
30
Proficient Saving... Error Saving
Server Error
Resubmit