M

Mr. Dubey • 52.30K Points
Coach

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
Correct : Option (B)

Explanation:
 first node is considered as the top element when stack is implemented using linked list.

Share

Discusssion

Login to discuss.

Be the first to start discuss.