Describe a stack data structure.

  • Google+ icon
  • LinkedIn icon
  • 741 views

A stack is a LIFO (Last In First Out) data structure. 

Analogous to a stack of plates, every new data entry is placed (or pushed) onto the top of the stack, and to get the the data below it, you must first remove all the data above it.

Michael T. A Level Maths tutor, GCSE Maths tutor, A Level Computing t...

About the author

is an online A Level Computing tutor with MyTutor studying at Durham University

Still stuck? Get one-to-one help from a personally interviewed subject specialist.

95% of our customers rate us

Browse tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss

mtw:mercury1:status:ok