Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java non binary tree

class Node
{
    public int data;
    public Node parent;
    public List<Node> children;
}

Node node = new Node(){ data=5, parent=null, children=new List<Node>() }
 
PREVIOUS NEXT
Tagged: #java #binary #tree
ADD COMMENT
Topic
Name
2+2 =