What is a stack in programming?
Stack is a kind of data structure. As of its name, data is kept in a linear way like a stack. It follows LIFO which means ‘last in first out’.
Abhishek Verma Answered question April 25, 2023
Stack is a kind of data structure. As of its name, data is kept in a linear way like a stack. It follows LIFO which means ‘last in first out’.