Top "Queue" questions

A queue is an ordered, first-in-first-out data structure.

How do I (succinctly) remove the first element from a slice in Go?

I've built a simple queue in Go. It uses an internal slice to keep track of its elements. Elements are …

go queue
Implement a queue in which push_rear(), pop_front() and get_min() are all constant time operations

I came across this question: Implement a queue in which push_rear(), pop_front() and get_min() are all constant …

algorithm data-structures queue big-o
How to cast or convert List of objects to queue of objects

How can one convert a list of objects to a queue thereby maintaining the same order?

c# object queue generic-list
Why Java provides two methods to remove element from Queue?

The Queue implementation in Java has two methods to remove element, One is remove() which throws exception and other one …

java queue
How do I copy or clone a LinkedList-implemented Queue in Java?

I have a Queue q1, that is implemented as a LinkedList, and I want to define a Queue q2, that …

java queue clone cloneable
Queue vs Dequeue in java

What is the difference between them? I know that A queue is designed to have elements inserted at the end …

java data-structures queue deque
Difference between stream processing and message processing

What is the basic difference between stream processing and traditional message processing? As people say that kafka is good choice …

stream queue rabbitmq apache-kafka messaging
How do you pass a Queue reference to a function managed by pool.map_async()?

I want a long-running process to return its progress over a Queue (or something similar) which I will feed to …

python queue multiprocessing pool
Clearing azure service bus queue in one go

We are using a service bus queue in our project. We are in need of a functionality to remove all …

.net azure queue azureservicebus azure-servicebus-queues
What is the significance of Application URL in laravel 5

in Config/app.php in laravel source, what is the actual use of url ? It says Application URL to be …

php laravel queue laravel-5 laravel-artisan