65 Views

what are stacks in data structures


Grag 7th Sep, 2021
Answer (1)
Ketaki Dhotre Student Expert 7th Sep, 2021

Dear,

Understanding of data structures is very important. Stacks, Queues, Linked Lists, Graphs are various Data Structures. Stack is kind of data structure which follows LIFO concept. LIFO basically means Last In First Out which means that the element that is added last into the stack will be popped out first. The elements are added from the beginning and deleted from the same end. A pile of books, a stack of dinner plates, a box of pringles potato chips can all be thought of examples of stacks. The basic operating principle is that last item you put in is first item you can take out. That is, that a stack is a Last In First Out (LIFO) structure.

Hope this helps!

Related Questions

UPES B.Tech Admissions 2026
Apply
Ranked #43 among Engineering colleges in India by NIRF | Highest Package 1.3 CR , 100% Placements
XIME Bangalore PGDM Admission...
Apply
Accredited by AICTE & NBA | Highest CTC 14.7 LPA | Average CTC 10.5 LPA | Key Recruiters: EY, Deloitte, KPMG, HCL
Amity University Noida B.Tech...
Apply
Among top 100 Universities Globally in the Times Higher Education (THE) Interdisciplinary Science Rankings 2026
Amity University, Noida | Law...
Apply
Among top 100 Universities Globally in the Times Higher Education (THE) Interdisciplinary Science Rankings 2026
Great Lakes Institute of Mana...
Apply
Application deadline: 4th Dec | Globally Recognized by AACSB (US) & AMBA (UK) | 17.8 LPA Avg. CTC for PGPM 2025
UPES Integrated LLB Admission...
Apply
Ranked #18 amongst Institutions in India by NIRF | Ranked #1 in India for Academic Reputation by QS Rankings | 16 LPA Highest CTC
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books