Queue structure is tell us what our head is and what tail should be with length of the list
| 17 | |
| 18 | // Queue structure is tell us what our head is and what tail should be with length of the list |
| 19 | type Queue struct { |
| 20 | head *Node |
| 21 | tail *Node |
| 22 | length int |
| 23 | } |
| 24 | |
| 25 | // enqueue it will be added new value into queue |
| 26 | func (ll *Queue) enqueue(n any) { |
nothing calls this directly
no outgoing calls
no test coverage detected