about | help | code help+videos | done | prefs |
frew@mclean.com queue-1
No loops: queueHead1
queueTail9
Loops: queueHead7
queueTail0
queueTail7
More loops: sumQueue
queueRemove4
Applied practice: josephusQueue H
Start all problems with
Queue<Integer> queue = new LinkedList<Integer>(list);
End problems with
return new ArrayList<Integer>(queue);
Authoring docs
Copyright Nick Parlante 2017 - privacy