public static List < ITree > postOrder ( ITree tree ) { List < ITree > trees = new ArrayList <> ( ) ; postOrder ( tree , trees ) ; return trees ; }
Returns a list of every subtrees and the tree ordered using a post - order .