Question

You are building a system that needs to process tasks in order of their priority. Which data structure would be most appropriate?

A Stack
B Queue
C Hash Map
D Priority Queue
E Binary Search Tree
Practice Next

Hey! Ask a query