
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
Information about quiz 4 in cmsc 132, including the quiz date, format, and covered material. Students are expected to complete exercises from the textbook and implement methods for the maxheap class. No solutions will be provided, but students can discuss their approaches with tas and instructors during office hours.
Typology: Quizzes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

CMSC 132 Quiz 4 Worksheet
The next quiz of the course will be on Monday, May 1during your lab (discussion) session. The following list provides more information about the quiz:
The following exercises cover the material to be included in this quiz. Solutions to these exercises will not be provided, but you are welcome to discuss your solutions with TAs and instructors during office hours.
Exercises
http://www.cs.umd.edu/class/spring2006/cmsc132/documents.shtml
key value than either of its children. The class definition associated with the MaxHeap class is:
public class MaxHeap<E extends Comparable
Complete the implementation of the MaxHeap class, by providing the following methods:
a. insert – Inserts an element in the heap. b. remove – Removes the largest element from the heap and returns that element. c. size – Returns the size of the heap.