CBSE Class 12 Computer Science
Question 27 of 63
Data Structures in Python — Question 1
Back to all questionsA stack is a linear/sequence structure or a list of elements in which insertion and deletion can take place only at one end, i.e., Stack's top. Because of this, Stack is called LIFO data structure. The Last-In-First-Out (LIFO) means the element inserted last would be the first to be deleted or accessed from the stack.