# algorithm « queue « Java Collection Q&A

Home
Java Collection Q&A
 1 algorithm 2 array 3 Array Byte 4 Array Char 5 Array Convert 6 Array Dimension 7 Array Integer 8 Array Object 9 Array String 10 ArrayList 11 collection 12 comparator 13 Development 14 Garbage Collection 15 Generic 16 hash 17 HashMap 18 HashTable 19 iterator 20 LinkedList 21 List 22 Map 23 queue 24 Set 25 Sort 26 tree
 Java Collection Q&A » queue » algorithm

### 1. About Sorting Algorithms applied to Stacks and Queues    stackoverflow.com

I want to know why we always use Sorting algorithm like (Insertion Sort or Merge Sort,...) just for lists and arrays? And why we do not use these algorithms for ...

### 2. Open source queuing theory algorithms in Java    stackoverflow.com

I need to write a program to analyze the performance of computer systems and networks using queuing theory (http://en.wikipedia.org/wiki/Queueing_theory). I was wondering if there is an open source Java ...

### 3. Dynamic queue for implementing Breadth-First algorithm efficiently    stackoverflow.com

I am in the midst of constructing a Breadth-First graph searching algorithm, for searching the London Underground. I have the algorithm figured out but as you may well know, the algorithm requires ...

### 4. Using a queue to solve TSP (Branch and Bound)    stackoverflow.com

I'm working on a Branch and Bound algorithm for the Traveling Salesman Problem and I've run into a little hitch. I'm using a pretty standard Queue with Nodes representing subsets of ...

### 5. Which datatype to use as queue in Dijkstra's algorithm?    stackoverflow.com

I'm trying to implement Dijkstra's algorithm in Java (self-study). I use the pseudo-code provided by Wikipedia (link). Now near the end of the algorithm, I should `decrease-key v in ...`

### 6. PriorityQueue.poll();    stackoverflow.com

Does anyone have any suggestions as to what the best way to modify an object's compareTo function so that when the parent priority queue's "poll()" function is called the lowest non-negative ...

### 7. Double Ended Queue Sort    stackoverflow.com

I asked to make a research paper (to compare )on the Double Ended Queue and Doubly linked list in term of their efficiency the comparison will be in -remove first\last ...