98-361 · Question #135
You are creating an application for a priority help desk center. The most recent call must be handled first. Which data structure should you use?
The correct answer is C. Stack. In computer science, a stack is a particular kind of abstract data type or collection in which the principal (or only) operations on the collection are the addition of an entity to the collection, known as push and removal of an entity, known as pop. The relation between the…
Question
You are creating an application for a priority help desk center. The most recent call must be handled first. Which data structure should you use?
Options
- AQueue
- BHashtable
- CStack
- Dbinary tree
How the community answered
(33 responses)- A3% (1)
- B12% (4)
- C76% (25)
- D9% (3)
Explanation
In computer science, a stack is a particular kind of abstract data type or collection in which the principal (or only) operations on the collection are the addition of an entity to the collection, known as push and removal of an entity, known as pop. The relation between the push and pop operations is such that the stack is a Last-In-First-Out (LIFO) data structure. In a LIFO data structure, the last element added to the structure must be the first one to be removed.
Topics
Community Discussion
No community discussion yet for this question.