Mon Apr 04, 2011 2:59 am
I need to create a Java program that:
Takes as input a rooted tree T and a node c of T and converts T to another tree with the same set of node adjacency but now rooted at v.
any suggestions to start off?
Mon Apr 04, 2011 4:59 pm
hi ,
this code will help you alot , you will just need to add function to cut a tree at specific node to another tree , right
Binary Tree
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.