https://github.com/hbagdi/algorithms
Building the muscle
https://github.com/hbagdi/algorithms
Last synced: 10 months ago
JSON representation
Building the muscle
- Host: GitHub
- URL: https://github.com/hbagdi/algorithms
- Owner: hbagdi
- License: mit
- Created: 2016-11-02T02:38:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-14T15:30:00.000Z (almost 9 years ago)
- Last Synced: 2025-01-06T18:21:40.975Z (12 months ago)
- Language: Go
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Algorithms
[](http://godoc.org/github.com/hardikbagdi/algorithms) [](https://goreportcard.com/report/github.com/hardikbagdi/algorithms)
[](https://travis-ci.org/hardikbagdi/algorithms) [](https://coveralls.io/github/hardikbagdi/algorithms?branch=master)
```
go get github.com/hardikbagdi/algorithms
```
### Basic Algorithms
#### Sorting
- Bubble Sort
- Insertion Sort
- Selection Sort
- Merge Sort - recursive top down approach
- Quick Sort - simple
- Quick Sort - 3-way
- Radix Sort
- Heap Sort
#### Array Search
- Simple old Linear
- Binary Search (iterative & recursive)
### Data Structures
- Singly LinkedList
- Stack
- Doubly LinkedList
- Queue
- Dequeue
- Heap using an array
- Binary Tree
- Binary Search Tree
- Heap using A Tree
- Graph
# Todo
- Graph - undirected;directed;weighted?
- Matrix representation of Graph
- Dijkstra
- detect cycle in graph
- union-find data structure? (not sure)