https://github.com/architagr/golang_collections
this repository implements all collections like sorted list, array List, single linked list, stack, queue
https://github.com/architagr/golang_collections
arraylist data-structures generics linked-list linkedlist queue single-linked-list sorted-arrays sorted-lists stacks
Last synced: 5 months ago
JSON representation
this repository implements all collections like sorted list, array List, single linked list, stack, queue
- Host: GitHub
- URL: https://github.com/architagr/golang_collections
- Owner: architagr
- License: mit
- Created: 2022-10-13T10:46:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-13T20:47:09.000Z (over 1 year ago)
- Last Synced: 2025-02-07T09:43:10.452Z (over 1 year ago)
- Topics: arraylist, data-structures, generics, linked-list, linkedlist, queue, single-linked-list, sorted-arrays, sorted-lists, stacks
- Language: Go
- Homepage:
- Size: 61.5 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pkg.go.dev/github.com/architagr/golang_collections)
[](https://codecov.io/gh/architagr/golang_collections)
[](https://goreportcard.com/report/github.com/architagr/golang_collections)
# golang_collections
This package is intended to implement all collections out of the box and using generics like List, Stack, Queue, Tree, Heaps, etc.
Using generics for these collection will help us to use the type safety.
We have also done some basic benchmarking with some of the most commonly used packages. We have included the result in the respective documention of the collection.
### implemented collections:
- [Stack (using linked list)](docs/stack_README.md)
- [Queue (using linked list)](docs/queue_README.md)
- [Single linked list](docs/singleLinkedList_README.md)
- [Array list](docs/arraylist_README.md)
- [Sorted list](docs/sortedlist_README.md)