Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/subpop/go-adt

various abstract data types in Go
https://github.com/subpop/go-adt

Last synced: 2 months ago
JSON representation

various abstract data types in Go

Awesome Lists containing this project

README

        

[![PkgGoDev](https://pkg.go.dev/badge/git.sr.ht/~spc/go-adt)](https://pkg.go.dev/git.sr.ht/~spc/go-adt)
[![Go Report Card](https://goreportcard.com/badge/github.com/subpop/go-adt)](https://goreportcard.com/report/github.com/subpop/go-adt)

Package adt implements various abstract data types.

## Stack

`Stack` implements a LIFO stack using a singly-linked list.

## Queue

`Queue` implements a FIFO queue using a doubly-linked list.

## DisjointSet

`DisjointSet` implements a merge-set or union-find data structure.

## PriorityQueue

`PriorityQueue` implements a priority queue using a heap.

## OrderedMap

`OrderedMap` implements a key-value pair backed by a slice to maintain order.