Skip to main content

Instead of using array, we can also use linked list to implement stackLinked 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

Comments