Daa Assignment - 2
Daa Assignment - 2
TECH - CS
Assignment - 2
Semester-V (Odd), Session: 2023-24
KCS-503: Design and Analysis of Algorithm
Unit-2 Course Outcome: CO2 – Find an
Unit-Name Advanced Data Structures algorithm to solve the problem (create) and
prove that the algorithm solves the problem
correctly (validate).
11 Define binomial heap with its various properties and discuss the various cases of 1
binomial heap union with its algorithm.
12 Let A={7,2,4,17,1,11,6,8,15,10,20} 3
(i) Draw a binomial heap whose key elements are elements of A
(ii) Insert a new element with the key 5 into this heap
(iii) To a binomial heap obtained this way apply the operation of extracting
the
node with minimum key two times , after each change in the structure of the
heap draw its current diagram.
13 Prove that maximum degree of any node in an n node binomial heap is logn. 3
14 Discuss Fibonacci heap with its various properties and example. 1
15 Discuss B Tree with its various properties in brief. Show the result of inserting the 3
following keys in an initial empty B-tree of order 5
C,N,G,A,H,E,K,Q,M,F,W,L,T,Z,D,P,R,X,Y,S
16 Explain skip list with its various properties in brief. 1
SUPPLEMENTARY QUESTIONS
1 Derive the time complexity of RB Tree insertion . 5
2 Differentiate between binomial heap and Fibonacci heap. 2
IQAC/ASU/F/2023-24/2.1 Page 1 of 2
TEXT BOOKS:
Ref. Authors Book Title Publisher/Press Edition &Year of
[ID] Publication
E. Horowitz & Fundamentals of Computer Galgotia
[T1] 2nd Edition, 2008
S Sahni Algorithms Publication
[T2] Corman Introduction to Algorithms MIT Press 3rd Edition,2009
REFERENCE BOOKS:
Ref. Edition &Year of
Authors Book Title Publisher/Press
[ID] Publication
Aho, Hopcraft, The Design and Analysis of Pearson
[R1] Ist Edition, 2002.
Ullman Computer Algorithms Education
REFERENCES
IQAC/ASU/F/2023-24/2.1 Page 2 of 2