About 50 results
Open links in new tab
  1. Difference between "enqueue" and "dequeue" - Stack Overflow

    Mar 5, 2015 · Enqueue and Dequeue tend to be operations on a queue, a data structure that does exactly what it sounds like it does. You enqueue items at one end and dequeue at the other, just like …

  2. dequeue and enqueue methods in queue implementation

    Dec 1, 2016 · dequeue and enqueue methods in queue implementation Asked 9 years, 2 months ago Modified 7 years, 1 month ago Viewed 34k times

  3. c++ - What really is a deque in STL? - Stack Overflow

    A deque is somewhat recursively defined: internally it maintains a double-ended queue of chunks of fixed size. Each chunk is a vector, and the queue (“map” in the graphic below) of chunks itself is also …

  4. How to "Dequeue" Element from a List? - Stack Overflow

    Jul 21, 2014 · How to "Dequeue" Element from a List? Asked 11 years, 6 months ago Modified 5 years, 5 months ago Viewed 106k times

  5. c - キューで関数enqueueとdequeueを行った時の配列内は、どのよう …

    May 18, 2022 · 想定通りの出力ができなかった理由としては、Q [tail]、Q [head]で配列外参照をしたため想定通りにならなかったと思います。 main内の処理の提示されたソースコードにおけ …

  6. Oracle Advance Queue - Dequeue not working - Stack Overflow

    May 28, 2015 · We faced a related problem (at least related to the title), we couldn't dequeue messages with a delay. The messages in the queue stayed the state "WAITING". And were not changed to …

  7. c - Enqueue and Dequeue Functions - Stack Overflow

    Nov 10, 2023 · My enqueue function works fine but I think my dequeue function lacks some arguments and I can't think of it. After executing the different functions that call dequeue, the program will …

  8. arrays - Pseudo-code for dequeue - Stack Overflow

    Mar 18, 2014 · The pseudocode is pretty simple then: dequeue() { returnValue = queue[index]; queue.index = queue.index - 1; return returnValue; } IE. Your algorithm is very inefficent. The remove …

  9. c# - Is there a .NET queue class that allows for dequeuing multiple ...

    Process batch of 10 Process batch of 10 Process batch of 3 I can solve this problem in a variaty of ways. My question is: Does the .NET framework provide any class designed specifically to address …

  10. How can I implement a queue using two stacks? - Stack Overflow

    Suppose we have two stacks and no other temporary variable. Is to possible to "construct" a queue data structure using only the two stacks?