

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The instructions and problems for homework 5 in cse 331, a computer science course focusing on expression trees and tree traversals. Students are required to submit their solutions via handin, named according to their last name, and include their name and msu net id on each page. Problems include exploring the relationship between expression trees and tree traversals, identifying the original expression tree from a postorder traversal, and performing splay tree operations.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Due by 11:59 PM Friday 27 Feb 2009
Submit your work via Handin. Name your file
Do the following problems. As always, we do not want just the “answers”, we want the reasoning behind the answers. An answer that lacks proper justifica- tion and reasoning will frequently lose several points.
(a) Draw a binary expression tree for the following preorder sequence:
i 1 2 3 4 5 6 7 8 9 key 9 2 3 * - 9 3 / +