home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:18441 comp.lang.c++:18041
- Newsgroups: comp.lang.c,comp.lang.c++
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!elroy.jpl.nasa.gov!usc!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!ctaylor
- From: ctaylor@cs.uiuc.edu (Conrad Taylor)
- Subject: Printing out a binary tree...???
- Message-ID: <BzC26E.L5y@cs.uiuc.edu>
- Sender: news@cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- Date: Wed, 16 Dec 1992 03:39:49 GMT
- Lines: 19
-
-
- I was wondering, does anyone have or know where I can find C/C++
- code that would print out a binary search tree as follows:
-
- 6
- / \
- 5 7
- / \ / \
- 4 nil nil 9
-
- ?
-
- Thanks in advance to all that reply to this post.
-
- -Conrad
-
- ps: Please e-mail me at either of the following
- taylor1@wse.eecs.uic.edu or ctaylor@silver.lcs.mit.edu.
-
-