cn-Data Structure Prime Important
cn-Data Structure Prime Important
in
Theory Questions
7. What is a circular linked list? How is it different from a singly linked list?
Problems
1. ⭐ Given a 2D array A[-100:100, -5:50], find the address of A[99,49] (Base=10, element size=4
bytes, row-major).
4. Write a C program to implement a doubly linked list and perform insert/delete operations.
notesmates.in notesmates.in
Downloaded from www.notesmates.in Uploaded on: 9/2/2025, 8:10:26 pm
Astroseeker - [email protected]
notesmates.in notesmates.in
*Problems
Unit 3: Trees
Theory Questions
notesmates.in notesmates.in
Downloaded from www.notesmates.in Uploaded on: 9/2/2025, 8:10:26 pm
Astroseeker - [email protected]
notesmates.in notesmates.in
Problems
1. ⭐ Construct an AVL tree with keys: 16, 23, 9, 163, 64, 29, 73, 83, 90, 96.
Unit 4: Graphs
Theory Questions*
*Problems*
2. ⭐ *Find MST using Kruskal’s and Prim’s algorithms for a given graph.*
notesmates.in notesmates.in
Downloaded from www.notesmates.in Uploaded on: 9/2/2025, 8:10:26 pm
Astroseeker - [email protected]
notesmates.in notesmates.in
*Theory Questions*
*Problems*
1. ⭐ Sort the following data using Quick Sort: 9, 4, 12, 6, 5, 10, 7.
4. Create a hash table using linear probing for the dataset: {12, 25, 36, 20, 30}.
notesmates.in notesmates.in
Downloaded from www.notesmates.in Uploaded on: 9/2/2025, 8:10:26 pm
Astroseeker - [email protected]