Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. In Fibonacci heaps, there is a suggestion that we be allowed to delete 2-child nodes at a node before requiring that a CASCADING-CUT occurs.

1. In Fibonacci heaps, there is a suggestion that we be allowed to delete 2-child nodes at a node before requiring that a CASCADING-CUT occurs. What is the complexity of insertion/deletion

2. Union-Find: Suppose all UNION operations are done before the FIND operations. Show that m FIND operations require O(m) operations. You should use a potential functions argument

3. Given a machine with time span T and a set of jobs each having a profit pi and required time ti, the goal is to maximize the summed profit of jobs scheduled on the machine. Consider the following algorithm for job scheduling: Sort the jobs in decreasing order by pi/ti and schedule them until you cannot fit more. Prove or disprove the correctness of this greedy algorithm

4 Show that the matric subset problem is a matroid.

5. Give an efficient implementation of Huffman encoding and analyze its time complexity

6. Let B be the binary representation of the number of elements in a binomial heap. Consider inserting a node in the heap. Prove that, the number of times two trees in the binomial heap are merged into a bigger tree is equal to the number of bit-flips when B is incremented by 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions