home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!pinard
- From: pinard@IRO.UMontreal.CA (Francois Pinard)
- Newsgroups: comp.lang.c
- Subject: Re: Balancing Binary Search Trees
- Message-ID: <PINARD.92Jul31142629@kovic.IRO.UMontreal.CA>
- Date: 31 Jul 92 19:26:29 GMT
- References: <1992Jul29.014821.2675@samba.oit.unc.edu>
- Sender: news@IRO.UMontreal.CA
- Organization: Universite' de Montre'al
- Lines: 16
- In-Reply-To: Alan.Tai@bbs.oit.unc.edu's message of 29 Jul 92 01: 48:21 GMT
-
- In article <1992Jul29.014821.2675@samba.oit.unc.edu> Alan.Tai@bbs.oit.unc.edu (Alan Tai) writes:
-
- Could someone please post some example code for balancing binary
- trees [...]
-
- There are probably many such packages flying around.
-
- For one, I made a set of binary tree routines which I will provide on
- request (copylefted code, however). One unusual feature is that they
- can work in two modes, one in which the nodes are all allocated in one
- big array of free nodes mallocated once, the other in which all nodes
- can be allocated separately.
- --
- Franc,ois Pinard ``Vivement GNU!'' pinard@iro.umontreal.ca
- (514) 588-4656 ...!uunet!iros1!pinard
- Consider joining the League for Programming Freedom. Email for details!
-