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
πŸ’¬ Discuss
βœ… Correct Answer: (B) first node
Explanation: first node is considered as the top element when stack is implemented using linked list.

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

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
815
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate