https://github.com/mxssl/doubly-linked-list-golang
Doubly Linked List implementation in Go (Golang)
https://github.com/mxssl/doubly-linked-list-golang
algorithms data-structures doubly-linked-list go golang structures
Last synced: 7 months ago
JSON representation
Doubly Linked List implementation in Go (Golang)
- Host: GitHub
- URL: https://github.com/mxssl/doubly-linked-list-golang
- Owner: mxssl
- Created: 2019-04-04T19:38:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T23:46:44.000Z (over 6 years ago)
- Last Synced: 2025-01-22T19:21:37.798Z (9 months ago)
- Topics: algorithms, data-structures, doubly-linked-list, go, golang, structures
- Language: Go
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Doubly Linked List
Doubly Linked List implementation in Go (Golang).
```bash
go test -v -cover ./...
=== RUN TestSingleNodeHead
--- PASS: TestSingleNodeHead (0.00s)
=== RUN TestSingleNodeTail
--- PASS: TestSingleNodeTail (0.00s)
=== RUN TestRemoveHead
--- PASS: TestRemoveHead (0.00s)
=== RUN TestRemoveTail
--- PASS: TestRemoveTail (0.00s)
=== RUN TestRemoveNodesWithValueHead
--- PASS: TestRemoveNodesWithValueHead (0.00s)
=== RUN TestRemoveNodesWithValueTail
--- PASS: TestRemoveNodesWithValueTail (0.00s)
=== RUN TestInsertAtPosition
--- PASS: TestInsertAtPosition (0.00s)
=== RUN TestSetHeadAndTail
--- PASS: TestSetHeadAndTail (0.00s)
=== RUN TestInsertAfterHead
--- PASS: TestInsertAfterHead (0.00s)
=== RUN TestInsertBeforeHead
--- PASS: TestInsertBeforeHead (0.00s)
=== RUN TestInsertAfterTail
--- PASS: TestInsertAfterTail (0.00s)
=== RUN TestInsertBeforeTail
--- PASS: TestInsertBeforeTail (0.00s)
=== RUN TestInsertAtPositionHeadTail
--- PASS: TestInsertAtPositionHeadTail (0.00s)
=== RUN TestContainsNodeWithValueHead
--- PASS: TestContainsNodeWithValueHead (0.00s)
=== RUN TestContainsNodeWithValueTail
--- PASS: TestContainsNodeWithValueTail (0.00s)
=== RUN TestContainsNodeWithValue
--- PASS: TestContainsNodeWithValue (0.00s)
PASS
coverage: 86.7% of statements
ok github.com/mxssl/doubly-linked-list-golang 0.006s coverage: 86.7% of statements
```