Instead of using array, we can also use linked list to implement stack. Linked list allocates the memory dynamically. However, time complexity in both the scenario is same for all the operations i.e. push, pop and peek.Click here
singly linked list in cpp,linked list program in c++ using struct , singly linked list c++ insert node, linked list c++ tutorialspoint, linked list program in c++ using struct, insertion and deletion in ,linked list in c++ prog. c++ linked list stl, Singly link list download
Comments
Post a Comment