go-algorithms

module
v0.1.1-0...-2dc8f61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: BSD-3-Clause

README

go-algorithms

build codecov go report

English | 简体中文

go-algorithms is a repo that holds the data structures and algorithms implemented by the Golang.

This repo does not follow the best practices of the Golang, just to learn about data structures and algorithms.

Installation

git clone https://github.com/linehk/go-algorithms.git

Contributing

If you feel that there is something to improve my implements, please feel free to launch Pull Request.

For major changes, please open an issue first to discuss what you would like to change.

License

BSD 3-Clause License

Directories

Path Synopsis
algorithm
evaluate/dijkstraDoubleStack
Package dijkstraDoubleStack implements math expression by Dijkstra double stack.
Package dijkstraDoubleStack implements math expression by Dijkstra double stack.
dataStructure
array
Package Array implements DataStructure Array can dynamically grow and shark.
Package Array implements DataStructure Array can dynamically grow and shark.
list/circularSingleLinkedList
Package circularSingleLinkedList implements circular single linked-list with a head node.
Package circularSingleLinkedList implements circular single linked-list with a head node.
list/doublyCircularLinkedList
Package doublyCircularLinkedList implements doubly circular linked-list with a head node.
Package doublyCircularLinkedList implements doubly circular linked-list with a head node.
list/doublyLinkedList
Package doublyLinkedList implements doubly linked-list with a head node.
Package doublyLinkedList implements doubly linked-list with a head node.
list/singleLinkedList
Package singleLinkedList implements single linked-list with a head node.
Package singleLinkedList implements single linked-list with a head node.
queue/arrayQueue
Package arrayQueue implements queue by slice.
Package arrayQueue implements queue by slice.
queue/circularArrayQueue
Package circularArrayQueue implements queue by slice.
Package circularArrayQueue implements queue by slice.
unionFind/quickFind
Package quickFind implements Disjoint-set.
Package quickFind implements Disjoint-set.
unionFind/quickUnion
Package quickUnion implements Disjoint-set.
Package quickUnion implements Disjoint-set.
unionFind/weightedPathCompressionQuickUnion
Package weightedPathCompressionQuickUnion implements Disjoint-set.
Package weightedPathCompressionQuickUnion implements Disjoint-set.
unionFind/weightedQuickUnion
Package weightedQuickUnion implements Disjoint-set.
Package weightedQuickUnion implements Disjoint-set.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL