1. Write a procedure for encoding an arbitrary rooted ordered tree as abinary tree in the Left-Child Right-Sibling scheme.Also write a routine to decode it and recover the original tree.2. Write routines to implement in-order, pre-order and post-order treetraversals. Also implement level-order traversals, and zig-zag traversals.3. Write a routine for recovering the parent, left-child and right child ofa node in a binary heap.
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.