Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

i want to spannig a tree with known childeren; i think preOrder is the best. but i dont know how to implement it in java; is there any one can help me?

OpenStudy (anonymous):

tnx for ur help; as a matter of fact i read the link u send ; but i dont find my answer:( tnx alot

OpenStudy (konradzuse):

Well I'm not sure what exactly you are asking, so I cannoit help you.

OpenStudy (anonymous):

If I understand correctly, you want to create a spanning tree, but one with fixed children? One way you could do this is by reversing an algorithm for creating a normal spanning tree. Like e.g. connect each child to a non-child node. Then connect those nodes to other non-child nodes until you end up with a single starting point.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!