import fi.uef.cs.tra.BTree; import fi.uef.cs.tra.BTreeNode; import java.util.HashSet; import java.util.Set; public class TRAII_25_X1_skeleton implements TRAII_25_X1 { /** * SELF-EVALUATION HERE: * * * */ /** * Nodes with two children. * Returns a set all the nodes of binary tree T that have at two children. * @param T input binary tree * @param element type * @return set of nodes with two children */ @Override public Set> twoChildNodes(BTree T) { Set> result = new HashSet<>(); // TODO return result; } }