home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
NARY
/
NARY.XPC
< prev
Wrap
Text File
|
1995-03-08
|
346b
|
14 lines
Printing the original tree in prefixed notation:
/|*|+|8|2|+|2|4|-|7|5|
Tree with calculated subtree replaced:
/|*|10|+|2|4|-|7|5|
Tree with calculated subtree replaced:
/|*|10|6|-|7|5|
Tree with calculated subtree replaced:
/|60|-|7|5|
Tree with calculated subtree replaced:
/|60|2|
Now the tree contains the result only:
30|