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
SEARCHES ict mumbai courses
Comments
Post a Comment