Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/moorara/algo

Algorithms and Data Structure For Go Applications
https://github.com/moorara/algo

algorithm automata avl data-structure data-structures dfa generics go golang graph heap nfa patricia radixsort red-black-tree sort trie

Last synced: about 22 hours ago
JSON representation

Algorithms and Data Structure For Go Applications

Awesome Lists containing this project

README

        

[![Go Doc][godoc-image]][godoc-url]
[![Build Status][workflow-image]][workflow-url]
[![Go Report Card][goreport-image]][goreport-url]
[![Test Coverage][codecov-image]][codecov-url]

# algo

A collection of common data structures and algorithms for Go applications.

## Summary

- **Algorithms**
- Comparative Sorts
- Selection Sort
- Insertion Sort
- Shell Sort
- Merge Sort
- Quick Sort
- 3-Way Quick Sort
- Heap Sort
- Non-Comparative Sorts
- Least Significant Digit
- Most Significant Digit
- 3-Way Quick Sort
- Misc
- Shuffle
- Quick Select
- **Data Structures**
- Lists
- Queue
- Stack
- Heaps
- Binary Heap
- Indexed Binary Heap
- Symbol Tables
- Unordered
- Ordered
- BST
- AVL Tree
- Red-Black Tree
- Tries
- Binary Trie
- Patricia
- Graphs
- Undirected Graph
- Directed Graph
- Weighted Undirected Graph
- Weighted Directed Graph
- Finite Automata
- DFA
- NFA
- Sets (union, intersection, difference, powerset, partitions, etc.)

## Development

| Command | Purpose |
|------------------|---------------------------------------------|
| `make test` | Run unit tests |
| `make benchmark` | Run benchmarks |
| `make coverage` | Run unit tests and generate coverage report |

[godoc-url]: https://pkg.go.dev/github.com/moorara/algo
[godoc-image]: https://pkg.go.dev/badge/github.com/moorara/algo
[workflow-url]: https://github.com/moorara/algo/actions
[workflow-image]: https://github.com/moorara/algo/workflows/Main/badge.svg
[goreport-url]: https://goreportcard.com/report/github.com/moorara/algo
[goreport-image]: https://goreportcard.com/badge/github.com/moorara/algo
[codecov-url]: https://codecov.io/gh/moorara/algo
[codecov-image]: https://codecov.io/gh/moorara/algo/branch/main/graph/badge.svg