public TreeNode[] getPathToSubRoot(final TreeNode node) {
    final TreeNode[] path = getPathToRoot(node);
    final TreeNode[] result = Arrays.copyOfRange(path, 1, path.length);
    return result;
  }
public TreeNode[] getPathToSubRoot(final TreeNode node)