Question 1
Which of the following data structures operates on the Last-In, First-Out (LIFO) principle?
A Stack is a linear data structure where element insertion (push) and deletion (pop) occur at the same end called the top, following the LIFO principle.