Advertisements
Advertisements
प्रश्न
Explain the following term:
STACK
स्पष्ट कीजिए
Advertisements
उत्तर
- A Stack is a linear data structure that follows the LIFO (Last-In, First-Out) principle, meaning the last element added is the first one to be removed.
- It primarily uses two operations: Push (to add an item to the top) and Pop (to remove the top item). A common real-world example is a stack of plates.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (July) Official Board Paper
