Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Binary tree implementation (http://www.velocityreviews.com/forums/t957610-re-binary-tree-implementation.html)

Gary Herron 02-14-2013 07:36 PM

Re: Binary tree implementation
 
On 02/14/2013 11:18 AM, Megha Agrawal wrote:
> Hello All,
>
> I am a newbie to python language. I need your help in implementation
> of Binary tree in python. I have a count of nodes and I need to draw a
> binary tree. Suppose if count is 5 then tree will look like
> 1
> / \
> / \
> 2 3
> / \
> / \
> 4 5.
>
> Does anybody have code for this? Or any hint?


I'm confused! Do you need to *implement* a binary tree or *draw* a
binary tree. You say both, but those are very different things. Hint:
If you want quality (volunteer) help, please put more time into the
quality of your question. As it is stated, we really don't know what
you want help with.

Gary Herron


>
>
> PS: Sorry for previous mail !!
>
> Thank you :)
>
>



--
Dr. Gary Herron
Department of Computer Science
DigiPen Institute of Technology
(425) 895-4418



All times are GMT. The time now is 03:48 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57