Enqueue will be added new value
(value any)
| 23 | |
| 24 | // Enqueue will be added new value |
| 25 | func (lq *LQueue) Enqueue(value any) { |
| 26 | lq.queue.PushBack(value) |
| 27 | } |
| 28 | |
| 29 | // Dequeue will be removed the first value that input (First In First Out - FIFO) |
| 30 | func (lq *LQueue) Dequeue() error { |