What data structure is used to efficiently implement a priority queue where elements are ordered based on their priority?
A. Stack
B. Linked List
C. Array
D. Heap
Answer: Option D
A. Stack
B. Linked List
C. Array
D. Heap
Answer: Option D
Which data structure is commonly used to implement a stack in function call management?
A. Stack
B. Queue
C. List
D. Tree
What data structure is most appropriate for implementing a scheduling system for processes?
A. Stack
B. Hash Table
C. Priority Queue
D. Binary Search Tree
Which data structure is used to implement a LRU (Least Recently Used) cache?
A. Linked List
B. Deque
C. Hash Table
D. Linked List
Join The Discussion