What are the applications of dequeue?
A. A-Steal job scheduling algorithm
B. Can be used as both stack and queue
C. To find the maximum of all sub arrays of size k
D. To avoid collision in hash tables
Answer:D
What are the applications of dequeue?
A. A-Steal job scheduling algorithm B. Can be used as both stack and queue C. To find the maximum of all sub arrays of size k D. To avoid collision in hash tables
Explanation: A dequeue can be used to execute all of the above.