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
