Having serous trouble with this coding. Similar to findNode, but rather than returning the node that contains the target, instea
Having serous trouble with this coding. Similar to findNode, but rather than returning the node that contains the target, instead returns a list of nodes above the one that contains the target, in low to high level order. * @param node the current node being examined * @param target the Person being searched for * @return an ArrayList of nodes that are directly above the * target in the hierarchy private ArrayList<MultiTreeNode<Person>> findNodeChain(MultiTreeNode<Person> node, Person target) { throw new UnsupportedOperationException("Not supported yet."); } --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- What I have tried so far: private ArrayList<MultiTreeNode<Person>> findNodeChain(MultiTreeNode<Person> node, Person target) { return findNodeChain(node, target, new ArrayList<>()); }