Implementation of various algorithms and data structures in golang
Now reworked with generics and interfaces!
- Binary Tree
- Linked List (doubly linked)
- Stack
- Queue
- Priority Queue (Heap)
- Set (Implemented with a map)
- Graph (Directed and Undirected)
-
Sorting
- Selection sort
- Insertion sort
- Bubble sort
- Merge sort
- Heap sort
- quicksort
-
Search
- BFS
- DFS
-
Pathfinding
- Dijkstra
-
Minimum Spanning Tree
- Prim
- cd into the directory of your project
- go get github.com/tsagae/goalgo