loading...

re: Data Structures in Go: Queue and Stack VIEW POST

FULL DISCUSSION
 
 

Sure! It is a bit different though.
Are you personally using a bidirectional queue for something? If so, I'm curious to know what for.

 

If I see the benefit of using double-queue, of course, I'll apply it. As for practical using, I can't give you a good example:). Also, good to see the implementation of the following type of queue:

  1. a priority queue
  2. double-ended queue
  3. circular queue

Thanks for the suggestion. I'll try to implement those :)

Code of Conduct Report abuse