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

https://github.com/howz97/algorithm

《算法》(Sedgewick著, 第4版) 的Golang实现
https://github.com/howz97/algorithm

algorithm go

Last synced: 19 days ago
JSON representation

《算法》(Sedgewick著, 第4版) 的Golang实现

Awesome Lists containing this project

README

          

Algorithm (Sedgewick, 4th) implemented in golang.
[Document](https://pkg.go.dev/github.com/howz97/algorithm)

## [Basic](basic)
* Stack
* Queue
* Array List
* Linked List
* Set
* Union-Find
## [Sorting](sort)
* Bubblesort
* Heapsort
* Insertsort
* Mergesort
* Quicksort
* Selectsort
* Shellsort
## Searching
* [Binary Search Tree](search/binarytree.go)
* [AVL Tree](search/avl.go)
* [Red-Black Tree](search/redblack.go)
* [Hash Table](search/hashmap.go)
## [Graphs](graphs)
* Directed Graph
* BFS
* DFS
* Reachability
* Strongly Connected Components (kosaraju)
* Bipartite Graph
* Topological Sorting
* Ring Detection
* Undirected Graph
* Subgraph
* Ring Detection
* Minimum Spanning Tree
* Lazy-Prim
* Prim
* Kruskal
* Shortest Path
* Dijkstra
* Topological
* BellmanFord
## Strings
* [String Sort](strings/sort)
* Most-significant-digit-first
* Three-way String Quicksort
* [Trie](strings/trie)
* R-way Trie
* Ternary Search Trie (TST)
* [Substring Search](strings)
* Knuth-Morris-Pratt
* Boyer-Moore
* Rabin-Karp
* [Regular Expression](strings/regexp)
* Data Compression
* [Huffman](strings/compress/huffman.go)
* [LZW](strings/compress/lzw.go)
## [Priority Queues](pqueue)
* Heap
* Leftist Heap
* Binomial Heap