What is the disadvantage of array data structure?
Official theoretical question paper for Data Structure Algorithms (PCC-CS301) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
What is the disadvantage of array data structure?
Which of the following data structures allow insertion and deletion from both ends?
Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?
Worst case time complexity to access an element in a BST can be?
How are String represented in memory in C?
Which of the following data structures can be used to implement queues?
Which of the following is a Divide and Conquer algorithm?
What is the best case time complexity of the binary search algorithm?
In a B+ tree, both the internal nodes and the leaves have keys.
What is the time complexity of an infix to postfix conversion algorithm?
What is a hash table?
Write an algorithm to create linear linked list with n nodes.
Write an algorithm to insert an element in Circular Queue.
Justify the statement with proper example: All Binary Search Trees are Binary Tree but All Binary Trees are not Binary Search Tree.
Find the time complexity of recursive algorithm of Tower of Hanoi.
Convert the given Infix expression to postfix expression A+B*C-D$/H
Create a AVL tree by inserting the following numbers in the order in which they are given: 17, 25, 19, 23, 75, 6. Explain it step wise with suitable diagram. What is Threaded Binary Tree? What are its advantages?
Define queue and its applications. Write an algorithm for insertion and deletion from queue.
a) Define Circular Linked List and Double Linked List. b) Write an algorithm to delete an element from Double Linked List. [Consider three cases: 1st node deletion, last node deletion and any intermediate node deletion]
a) Write a quick sort algorithm to sort a list. Explain with an example. b) Prove that the best case time complexity for quick sort is O (n log n) for input size of n.
Write short notes on any three from following: a) AVL Tree b) Dequeue and Priority Queue c) Collision Resolution Techniques in Hashing d) BFS