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

Popular posts from this blog

C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, while a static type system prevents unintended operations. C  is a procedural programming language. It was initially developed by Dennis Ritchie between 1969  and  1973. It was mainly developed as a system programming language to write operating system.I have Study c in deep By this Ebook  Click here