What is the time complexity of an infix to postfix conversion algorithm?
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 time complexity of an infix to postfix conversion algorithm?
Which of the following is essential for converting an infix expression to postfix notation?
A data structure is a particular way of -------- and -------- data either in computer's memory or on the disk storage so that it can be used efficiently.
-------- is not a stable sorting algorithm?
Time complexity of bubble sort in best case is --------
When a sorting technique is called stable?
What is the search complexity in direct addressing?
What is the best case for linear search?
Reverse Polish notation is often known as--------
The values in a BST can be sorted in ascending order by using which of the traversals method?
Which notation comprises a set of all functions h(n) that are greater than or equal to cg(n) for all values of n ≥ n0?
A circular queue is implemented using an array of size 10. The array index starts with 0, front is 6, and rear is 9. The insertion of next element takes place at the array index.
Write an algorithm for binary search technique.
State the differences between stack and queue data structure.
Convert the following infix expression into postfix expression using the stack data structure with detailed explanation: A - (B / C + (D % E * F) / G) * H
Show how the following polynomial can be represented using a linked list. 7x2 y2 - 4x2 y+5xy2 -2 .
Write difference between b tree and b+ tree.
Why circular queue is better than simple queue?
Evaluate the postfix expression using stack: 2 3 1 * + 9 -
Write a program to convert infix expression to its equivalent postfix expression using stack.
What are the best worst and average case time complexity of binary search algorithm?
How linear search is differing from binary search?
What are the preconditions for performing binary search in an array?
Write a C program for linear search in an array.
What is a Stack ADT? Explain their operations.
Write an algorithm to delete an item from a circular array of queue. Also find the complexity of the algorithm.
Define algorithm.
What are the measures of performance of an algorithm? Explain.
Define asymptotic notation and explain each types.