Article View: comp.lang.misc
Article #248help in data structure in PASCAL or C
From: Raghu Nathan
Date: Fri, 17 Apr 1992 01:50
Date: Fri, 17 Apr 1992 01:50
25 lines
1132 bytes
1132 bytes
I am posting this for a friend of mine who does not have access to the net.
If anyone has suggestions, please mail me.
We can represent each node in a binary tree by
type node
=record
value=integer;
link =^node;
Rlink=^node;
end;
My friend wants procedures
1. to create a binary tree from a file which contains an inorder and
post order sequences of a tree T
2. list all the leaf nodes of the tree T.
3. to delete a node S from a binary tree T.
4. list the data files of the nodes of the binary tree T by level.
Thanks.
Technical Details
Message-ID:
<3015@fcs280s.ncifcrf.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!ncifcrf!nihdna!raghuReferences:
<7597@cui.unige.ch> <1992Apr16.164204.2027@daimi.aau.dk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!ncifcrf!nihdna!raghu From: raghu@nihdna.ncifcrf.gov (Raghu Nathan) Newsgroups: comp.lang.misc,comp.lang.functional,comp.object Subject: help in data structure in PASCAL or C Message-ID: <3015@fcs280s.ncifcrf.gov> Date: 17 Apr 92 01:50:29 GMT References: <7597@cui.unige.ch> <1992Apr16.164204.2027@daimi.aau.dk> Sender: news@ncifcrf.gov Followup-To: comp.lang.misc Organization: NCI Supercomputer Facility, Frederick, MD Lines: 26