An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![GoDoc](https://godoc.org/architagr/golang_collections?status.svg)](https://pkg.go.dev/github.com/architagr/golang_collections)
[![codecov](https://codecov.io/gh/architagr/golang_collections/branch/main/graph/badge.svg?token=SMK47LSPZ4)](https://codecov.io/gh/architagr/golang_collections)
[![Go Report Card](https://goreportcard.com/badge/github.com/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)