Cyclic Struct which cycles the linked list in this implementation.
| 4 | |
| 5 | // Cyclic Struct which cycles the linked list in this implementation. |
| 6 | type Cyclic[T any] struct { |
| 7 | Size int |
| 8 | Head *Node[T] |
| 9 | } |
| 10 | |
| 11 | // Create new list. |
| 12 | func NewCyclic[T any]() *Cyclic[T] { |
nothing calls this directly
no outgoing calls
no test coverage detected