@Test(expected = IllegalArgumentException.class) public void shouldNotAcceptNullElementsRecursive() { lca.getRecursive(null, null, null); }
public BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2) { validateInput(root, n1, n2); return getRecursiveInner(root, n1, n2); }
LowestCommonAncestor { public BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2) { validateInput(root, n1, n2); return getRecursiveInner(root, n1, n2); } }
LowestCommonAncestor { public BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2) { validateInput(root, n1, n2); return getRecursiveInner(root, n1, n2); }  }
LowestCommonAncestor { public BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2) { validateInput(root, n1, n2); return getRecursiveInner(root, n1, n2); }  BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2); BinaryNode getIterative(BinaryNode root, BinaryNode n1, BinaryNode n2); }
LowestCommonAncestor { public BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2) { validateInput(root, n1, n2); return getRecursiveInner(root, n1, n2); }  BinaryNode getRecursive(BinaryNode root, BinaryNode n1, BinaryNode n2); BinaryNode getIterative(BinaryNode root, BinaryNode n1, BinaryNode n2);  }