Skip to content

Latest commit

 

History

History

StackAsArray

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Queue implemented as Linked List

Example program that utilizes an array to implement a stack data structure.

Getting Started

Download, and then compile and run in your favorite editor.

Pushing elements on to a stack

push elements onto stack

Peek at the top element of a stack

peek at top of stack

Popping an element off the stack

pop element off stack

Authors

  • Ankit Sharma - Original author
  • James Hiegel - Added comments and additional functionality to original program

Source

https://www.geeksforgeeks.org/implementing-stack-c-sharp/