* Add a new element to the end of the queue (the tail of the linked list). * This element will be processed after all elements ahead of it. * @param {*} value
(value)
| 34 | * @param {*} value |
| 35 | */ |
| 36 | enqueue(value) { |
| 37 | this.linkedList.append(value); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Remove the element at the front of the queue (the head of the linked list). |
no test coverage detected