Data Structure Assignment
Data Structure Assignment
front=3, rear=5
Queue=_ ,_ ,2, 4 ,5 ,_,_,_ ( _ states for empty cell)
6 is added
Two elements are deleted
10 and 12 added
Two elements are deleted
2 and 3 are added.
final value of front and rear for the following operation for straight queue and circular Q
STACK Vs QUEUE
String reverse –explain with example
2- dimensional array, sparse matrix Multiple Stack, polynomials, Double Linked List
Write an Algorithm for deletion from the rear end of the Deque.
Consider a 2D array arr[20][20] having base address 2000 and no. of bytes per element is
compute the address of arr[9][15] in row major and column major order.
Write an algorithm to insert a data element after a particular data element in a singly linked list.
Insert the following numbers in an empty BST:
40, 25, 70, 22, 35, 60, 80, 90, 10, 30.
Draw the tree and perform the following operations (not successively)
Recursion Vs Iteration
Row-Major and Column-Major ordering
Time complexity of Quick Sort and Merge Sort
Insertion Sort
Internal and external sorting
Different collision resolution techniques of hashing
Red/Black tree
Representation of Graph