Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38879 > unrolled thread
| Started by | Megha Agrawal <megha@greybatter.com> |
|---|---|
| First post | 2013-02-15 00:48 +0530 |
| Last post | 2013-02-15 00:48 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Binary tree implementation Megha Agrawal <megha@greybatter.com> - 2013-02-15 00:48 +0530
| From | Megha Agrawal <megha@greybatter.com> |
|---|---|
| Date | 2013-02-15 00:48 +0530 |
| Subject | Binary tree implementation |
| Message-ID | <mailman.1781.1360869539.2939.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
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 :)
Back to top | Article view | comp.lang.python
csiph-web