coding180 icon

What is a stack?

Home > Interviews > PHP

robort - 2022-09-16 06:36:05

A stack is an ordered list in which insertions and deletions can only occur at one end, known as the top. It is a recursive data structure that contains a pointer to its top element. Stacks are sometimes referred to as last-in, first-out (LIFO) lists because the first element added to the stack is the last to be removed.


Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel