|
Re: Java n-node tree [message #1690434 is a reply to message #1690417] |
Fri, 27 March 2015 06:10  |
Eclipse User |
|
|
|
Azar,
There's no question mark in your post. Presumably you're asking how to
create such pretty pictures in Java. But this forum is for asking
questions about using Eclipse Java tools, not a general forum of how to
write Java code to achieve some specific purpose. Better you use
stackoverflow or Java ranch for questions of such a nature, after you've
exhausted Google search...
On 27/03/2015 10:15 AM, azar azlan wrote:
> Hi. I'm trying to write Java code for the following figure. Where,
>
> if node=4 will create following separate 4 trees. Number of node in
>
> LEVEL1 (yellow) = 1 node
> LEVEL2 (green) = n-1 node
> LEVEL3 (blue) = n-2 node
>
>
> Another way if node = 5 then,
> LEVEL1 (yellow) = 1 node
> LEVEL2 (green) = n-1 node
> LEVEL3 (blue) = n-2 node
>
>
> And so on. Thanks in advance for kind help.
|
|
|
Powered by
FUDForum. Page generated in 0.03187 seconds