![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
Which of the following is considered as the top of the stack in the linked list implementation of the stack? |
A. | last node |
B. | first node |
C. | random node |
D. | middle node |
Answer» B. first node | |
Explanation: first node is considered as the top element when stack is implemented using linked list. |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet