Académique Documents
Professionnel Documents
Culture Documents
6. What is stack?
Ans : a stack is a last in, first out (LIFO) abstract data type and linear data structure.
7. what is queue?
Ans : a FIFO data structure, the first element added to the queue will be the first one to be removed.
10. Explain the insertion and deletion in circular Queue with algorithm, and graphical
representation for
every element inserted and deleted with all the conditions?
11. Convert an expression from infix to postfix and prefix?
Infix = A+B*C
Postfix = ABC*+
Prefix =+A*BC
15. What are the operations associated with double linked list?
Ans : Insert
Insert at beginning
Insert at end
Insert at middle
Delete
Delete at beginning
Delete at end
Delete at start