Design and Analysis of Algorithm Unit 2 Notes AKTU (BCS503)

AKTU · BTECH · Semester 5 · Design and Analysis of Algorithm · Unit 2 · Notes

AKTU Design and Analysis of Algorithm (BCS503) Unit 2 notes for B.Tech Semester 5 – Advanced Data Structures. Topics: Red-Black Trees, B-Trees, Binary…

Open the interactive reader to study this resource on AcademicArk.

Unit 2: Advanced Data Structures – AKTU syllabus topics

  • Red-Black Trees
  • B-Trees
  • Binary Search Trees
  • Binomial Heaps
  • Fibonacci Heaps
  • Tries
  • Skip List
  • Persistent Data Structures

Most asked AKTU PYQ questions from Unit 2

  1. Q4a. Insert the following elements using the property of RB tree. 61,58,51,32,39,29 (10 marks, 2023-24)
  2. Q4a. Discuss the various cases for insertion of key in red-black tree for given sequence of key in an empty red-black tree- {15,13,12,16,19,23,5,8}. Also show that a red-black tree with n internal nodes has height at most 2lg(n+1). (10 marks, 2022-23)
  3. Q4a. Write an algorithm for insertion of key in the Red-Black Tree. Discuss the various cases for insertion of key in red-black tree for given sequence of key in an empty red-black tree- 5, 16, 22, 25, 2, 10, 18, 30, 50, 12, 1. (10 marks, 2020-21)
  4. Q2b. Insert the following element in an initially empty RB-Tree. 12, 9, 81, 76, 23, 43, 65, 88, 76, 32, 54. Now Delete 23 and 81. (7 marks, 2019-20)
  5. Q4b. Insert the elements 8, 20, 11, 14, 9, 4, 12 in a Red-Black Tree and delete 12, 4, 9, 14 respectively. (7 marks, 2018-19)
  6. Q4b. Explain and write an algorithm for union of two binomial heaps and write its time complexity. (10 marks, 2022-23)
  7. Q2b. What is Binomial Heap? Write down the algorithm for Decrease key operation in Binomial Heap also write its time complexity. (10 marks, 2021-22)
  8. Q4b. Explain and write an algorithm for union of two binomial heaps and also write its time complexity? (10 marks, 2020-21)
  9. Q2b. Define Binomial Heap. Write an algorithm for union of two binomial heaps. Also take a suitable example which clearly illustrates merging operation of two binomial heaps. (7 marks, 2024-25)
  10. Q4a. Explain the different conditions of getting union of two existing binomial Heaps. Also write algorithm for union of two Binomial Heaps. What is its complexity? (7 marks, 2018-19)

AKTU paper codes: BCS503, KCS503, RCS502

Other Design and Analysis of Algorithm units

Design and Analysis of Algorithm previous year papers

More Design and Analysis of Algorithm resources

More versions of this resource

Browse all notes · Semester 5 notes · Design & Analysis of Algorithm notes