Binary tree implementation
Megha Agrawal
megha at greybatter.com
Thu Feb 14 14:18:55 EST 2013
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?
PS: Sorry for previous mail !!
Thank you :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130215/d3a3147f/attachment.html>
More information about the Python-list
mailing list