Material Type: Assignment;
Professor: Saia;
Class: Algorithms/Data Structure;
Subject: Computer Science;
University: University of New Mexico;
Term: Fall 2006;
Download Algorithms and Data Structure - Homework 4 | CS 561 and more Assignments Computer Science in PDF only on Docsity!
CS 561, HW
Prof. Jared Saia, University of New Mexico
Due: November 7th
Find the optimal parenthesization for a matrix-chain product whose sequence of dimensions is: (2, 3 , 2 , 2 , 1). (Don’t forget to include the table used to compute your result)
Exercise 15.3-
Exercise 15.2-5 (hint: use proof by induction)
Exercise 15.4-
Exercise 15.4-5 (note: monotonically increasing means strictly increas- ing, e.g. 1, 2 , 4, 5, 7)