What Is The Difference Between Stack And Linked List?

Asked By 0 points N/A Posted on -
qa-featured

I started studying C++ 2 months back and I have got a good grasp on it. But the concept of stack and linked list is quite tough for me. Can someone tell me the exact difference between stack and linked list?

SHARE
Answered By 20 points N/A #289242

What Is The Difference Between Stack And Linked List?

qa-featured

A linked list is a series of nodes connected to each other. It contains of two things, content and address of the next node which leads you there. It works on the concept of pointers.

Whereas stack is an abstract kind of data type where you either push our pop an item in or out of the stack. You can only do it from the top of the stack like a stack of plates.

Login/Register to Answer

Related Questions