MCQ
Single Best Answer
Easy
QWhat is a stack in data structure?
ID: #5743
Stacks
235 views
Question Info
#5743Q ID
EasyDifficulty
StacksTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
Answer: c) A data structure that allows elements to be inserted and removed from one end only
Explanation: A stack is a data structure that follows the Last-In-First-Out (LIFO) principle, meaning that the element that is inserted last will be the first to be removed. It allows elements to be inserted and removed from the top end only.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic