n-ary trees

How do you represent an n-ary tree? Write a program to print the nodes
of such a tree in breadth first order.

Answer: using array of nodes, and use Q

No comments: