Total members 10261 | Gratitudes |It is currently Wed May 23, 2012 8:25 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 2 posts ] 
Author Question
 Question subject: Help please?
PostPosted: Mon Apr 04, 2011 2:59 am 
Offline
Newbie
User avatar

Joined: Mon Apr 04, 2011 2:54 am
Posts: 1
Has thanked: 1 time
Have thanks: 0 time

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?


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Help please?
PostPosted: Mon Apr 04, 2011 4:59 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 time
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

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )



For this message the author msi_333 has received gratitude : cscalkin
TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 2 posts ] 
Quick reply


  

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 5 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team