Which data structure should you use?

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?

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?

A.
queue

B.
hashtable

C.
stack

D.
binary tree



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Maizena

Maizena

Why isn’t the answer stack data structure (LIFO)?

R

R

agree.. it should be stack

AydinNasirzadeh

AydinNasirzadeh

The answer is STACK.

DB7

DB7

C: Stack = LIFO (last in, first out), most recently added items get disposed first.