What are the applications of dequeue?

Q & ACategory: Data StructureWhat are the applications of dequeue?
Admin Staff asked 4 years ago

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

1 Answers
Admin Staff answered 4 years ago

d) To avoid collision in hash tables