This repository demonstrates core data structures and algorithms implemented in Go (Golang) โ with a focus on performance, clarity, and idiomatic code.
Note: Each directory contains a README.md which provides a basic walkthrough, helpful tips, as well as easy to understand implementations of the types, interfaces, functions and methods commonly used in the Go stdlib.
| Feature | Description |
|---|---|
tree/ |
Binary trees, insertion, traversal, TreeSort |
sort/ |
Implementations of Merge Sort, Quick Sort, Bubble Sort |
structures/ |
Stacks, Queues, Linked Lists, and Circular Buffers |
utils/ |
Helper functions, benchmarking tools |
web/ |
Handlers, Route-mapping, HTML/TEXT Templates |
network/ |
TCP/UDP, Web Socket Programming, UNIX, Transports, Clients |
data/ |
Marshalling data, pointers, *DB type, Handlers |
values := []int{5, 1, 9, 2, 6}
TreeSort(values)
fmt.Println("Sorted:", values)