Open vanodevium opened 1 year ago
What is the best practice for the case when you need to remove an element by value, for example, some object with ID == 123.
I completely understand: this is stack/queue. But in my very difficult case I have to remove element somewhere inside queue...
Thanks!
What is the best practice for the case when you need to remove an element by value, for example, some object with ID == 123.
I completely understand: this is stack/queue. But in my very difficult case I have to remove element somewhere inside queue...
Thanks!