Q. What are the applications of dequeue? (Solved)
1. A-Steal job scheduling algorithm
2. Can be used as both stack and queue
3. To find the maximum of all sub arrays of size k
4. To avoid collision in hash tables
- d. To avoid collision in hash tables