Tutorial Sheet

1. [5-6] [8-9] Prove that if the weights on the edge of the connected undirected graph are distinct then there is a unique MST. Give an example in this regard, also discuss Kruskal MST in detail. 2. [5-6] [8-9] Explain the Floyd Warshall algorithm with example. 3. [5-6] Given a graph G={V, E} and let U and V be two distinct vertices. Explain how to modify Dijkastra’s shortest path algorithm to determine the number of distinct shortest paths from U to V. 4. [5-6] Write an algorithm for inserting a node into Fibonacci heap. 5. [5-6] What do you understand by Binomial heap? How to merge two Binomial heaps? 6. [5-6] Explain deletion procedure in B-tree. 7. [5-6][6-7] Write an algorithm of insertion in B tree. You are also required to give comments on its running time. 8. [6-7] Explain linked adjacency list representation of a graph with suitable example/diagram. 9. [6-7] What is a MST of a graph? Describe Prim’s algorithm to find MST along with its running time. 10. [6-7] Explain and write the Bellman Ford algorithm. You are also required to find the running time of the algorithm. 11. [6-7] What is a Binomial tree? Explain with suitable example. You are also required to give its properties. 12. [6-7] Explain the different conditions of getting union of two existing Binomial heaps. 13. [6-7] What are the various differences between Binomial and Fibonacci heaps. 14. Augment a binary tree, where now each node maintains the size of node (number of internal nodes including itself) with suitable example. 15. [7-8] Write an algorithm for inserting a key into a B-tree in a single pass down the tree. 16. [7-8] Show that if only the mergable heap operations are supported, the maximum degree D(m) is an n-node Fibonacci heap is at most log n. 17. [7-8] Write about linked list representation of disjoint sets. 18. [7-8] Prove that the maximum degree of any node in an n-node Binomial tree is lg n. 19. [7-8] Argue that in every n-node binary search tree there are exactly n-1 possible rotations. 20. [7-8] Show how Prim’s algorithm can be implemented using heap, what would be the time complexity of the algorithm? 21. [7-8] Prove the correctness of Kruskal algorithm. 22. [7-8] Show how to compute transitive closure of a graph using Floyd Warshall algorithm for all pair shortest path. 23. [7-8] Give an algorithm for topological sorting of a directed acyclic graph.

24. [8-9] For the graph apply Floyd warshall algorithm for constructing shortest path. Show the matrix D(k) that results each iteration. -1 1 2 2 -8 -4 3 7 5 10 25. [9-10] Suppose that graph G=(V, E) is represented as an adjacency matrix. Give a example implementation of Prim’s algorithm so that it runs in O(V2) time for this case. 26. [9-10] Give an efficient push-rebel algorithm to find a maximum matching in a bipartite graph, analyze your algorithm. 27. [9-10] Suppose we run Johnson’s algorithm on a directed graph G with weight w. show that if G contains the 0-weight cycle c, then w(U,V)=0 for every edge (U,V) in c.

ŀ Tutorial Sheet

2. [5-6] [8-9] Explain the Floyd Warshall algorithm with example. 3. [5-6] Given a graph G={V, E} and let U and V be two distinct vertices. Explain how to modify.

45KB Sizes 0 Downloads 32 Views

Recommend Documents

KNR TUTORIAL SHEET 3 CASIMIR, COMPLETE REDUCIBILITY ...
generated as an sl2(C)-module by its primitive vectors. • If v is a primitive vector with weight λ and belongs to the generalized eigenspace of C with eigenvalue µ, ...

KNR TUTORIAL SHEET 3 CASIMIR, COMPLETE REDUCIBILITY ...
vanishes modulo a proper invariant subspace W of V . Show that V is generated as an sl2(C)-module by its primitive vectors. • If v is a primitive vector with weight ...

catia v5 sheet metal tutorial pdf free download
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. catia v5 sheet ...

FeynRules Tutorial
We will call mass eigenstates Φ1 and Φ2, and their masses M1 and M2, ... (3) where u and e are the SM up-quark and electron fields. Note that there is a Z2 symmetry ..... The kinetic terms for the fermions can be implemented in a similar way.

LaTeX Tutorial
To have formulas appear in their own paragraph, use matching $$'s to surround them. For example,. $$. \frac{x^n-1}{x-1} = \sum_{k=0}^{n-1}x^k. $$ becomes xn − 1 x − 1. = n−1. ∑ k=0 xk. Practice: Create your own document with both kinds of for

FeynRules Tutorial
The model we are considering depends on 9 new parameters, .... approach, and we start by opening a new notebook and load the FeynRules package (see the ...

ENVI Tutorial
Navigate to the Data\can_tm directory, select the file can_tmr.img from the list, and click. Open. .... From the ROI Tool dialog menu bar, select File > Restore ROIs.

[Cheat Sheet] 15 Credit & Balance Sheet Ratios.pdf
Page 1 of 1. Cheat Sheet: Balance Sheet Ratios. Ratios to evaluate credit health and management's operating capital efficiency. Interest Coverage Ratios Calculation Healthy. Ratios that specifically measure a business's ability to make interest payme

Fact Sheet - IN.gov
Click on the name of each grant for more ... Citation Requirements: The agency's official name is Indiana. Disability Rights. ... TTY: 800-838-1131. Website: www.

Answer sheet
Question. Answer. 1. B. 2. A. 3. A. 4. A. 5. A. 6. B. 7. A. 8. C. 9. C. 10. A. 11. A. 12. D. 13. C. 14. A. 15. C. 16. A. 17. D. 18. B. 19. C. 20. A. 21. C. 22. B. 23. B. 24. A.

Sub-Family Data Sheet
Sep 19, 2012 - Memories and memory interfaces. – Up to 128 KB program flash memory ... USB full-/low-speed On-the-Go controller with on- chip transceiver and 5 V to 3.3 V ..... Human Body. Model (HBM). 2. Determined according to JEDEC Standard JESD

inatruction sheet
This presentation needs to be completed in full by: The handout needs to be submitted by: 15 minutes (per student). Presentation Due Date: Handout Due Date:.

Oolite Reference Sheet - GitHub
will shut down, requiring a cool-down period before it ... 10 Fuel Scoop ... V2 & Creative Commons License: BY - NC - SA 3.0 Oolite Website: http:/www. ..... A discontinued fighter design finding a new life in the professional racing circuit.

CSS3 Cheat Sheet - GitHub
Border Radius vendor prefix required for iOS

TUTORIAL DOODLE.pdf
Page 3 of 9. TUTORIAL DOODLE.pdf. TUTORIAL DOODLE.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying TUTORIAL DOODLE.pdf. Page 1 of 9.

Tutorial MindMeister.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect ...

Tutorial Chemsketch.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Tutorial Chemsketch.pdf. Tutorial Chemsketch.pdf. Open. Extract.

The C++ Language Tutorial
The ANSI-C++ standard acceptation as an international standard is relatively recent. It was first ... free. Compilers. The examples included in this tutorial are all console programs. That means .... several error messages when you compile it. ... Ho

DSQSS Tutorial 2015.12.01 - GitHub
Dec 1, 2015 - Step1 :Choose a site and an imaginary time point. Step2 :Put a worm pair. if no, go to Step4. Step3 :The worm-head moving. When the head ...

psd Tutorial
Adobe Photoshop in 4 simple steps. With just one text layer and a few layer styles you can have yourself a deliciously glossy emblem text effect in no time.

Tutorial Handout.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Tutorial ...

Tutorial Gitar.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Tutorial Gitar.pdf.