Skip to main content

All Questions

13 votes
8 answers
52k views

What is the difference between an Array and a Stack?

According to Wikipedia, a stack: is a last in, first out (LIFO) abstract data type and linear data structure. While an array: is a data structure consisting of a collection of elements (values or ...
Dynamic's user avatar
  • 5,796