ECE 537 Homework 10: Binomial and Fibonacci Heaps, Assignments of Electrical and Electronics Engineering

The instructions for homework 10 in the ece 537: foundations of computing course, which involves drawing diagrams of pointers and data structures for binomial and fibonacci heaps, exhibiting a sequence of operations to construct an n-vertex fibonacci heap, and proving the number of children at a certain depth in a binomial tree. Students are also required to read and answer problem 21-1 from the cormen et al. Text.

Typology: Assignments

Pre 2010

Uploaded on 07/22/2009

koofers-user-hfm
koofers-user-hfm 🇺🇸

9 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 537 - Foundations of Computing
Prof. Sen
Homework #10
Due: Tuesday, November 27, 2007 in class
1. Draw a diagram which illustrates the arrangement of all the pointers and associated data struc-
tures needed in:
(a) A binomial heap implementation.
(b) A Fibonacci heap implementation.
2. Exhibit a sequence of MELDABLE PRIORITY QUEUE ADT operations that lead to the construction
of an n-vertex Fibonacci heap containing a single tree having a height of exactly n1.
3. Prove that the number of children at a depth of iin binomial tree Bk,0ik, is k
i.
4. Read Chapter 21 in the Cormen et al. text, and then answer problem 21-1.
1

Partial preview of the text

Download ECE 537 Homework 10: Binomial and Fibonacci Heaps and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 537 - Foundations of Computing Prof. Sen Homework # Due: Tuesday, November 27, 2007 in class

  1. Draw a diagram which illustrates the arrangement of all the pointers and associated data struc- tures needed in:

(a) A binomial heap implementation. (b) A Fibonacci heap implementation.

  1. Exhibit a sequence of MELDABLE PRIORITY QUEUE ADT operations that lead to the construction of an n-vertex Fibonacci heap containing a single tree having a height of exactly n − 1.
  2. Prove that the number of children at a depth of i in binomial tree Bk, 0 ≤ i ≤ k, is

(k i

  1. Read Chapter 21 in the Cormen et al. text, and then answer problem 21-1.