Acid 1a93503112 new file: linear/circularBuffer.go
new file:   tests/circularBuffer_test.go
2026-05-02 16:26:50 -04:00
2026-05-02 16:26:50 -04:00
2026-05-02 16:26:50 -04:00
2026-04-05 02:00:21 -04:00
2026-04-04 21:03:11 -04:00
2026-04-28 20:03:19 -04:00

Data Structures & Algorithms in Go

Linear

  • Stack
  • Queue
  • Linked List
  • Circular Buffer
  • Deque

Tree — hierarchical, parent/child relationships

  • Binary Tree
  • Binary Search Tree
  • AVL Tree
  • Heap (min/max)
  • Trie

Graph — nodes connected by edges, no strict hierarchy

  • Directed
  • Undirected
  • Weighted

Hash Based — key/value

  • Hash Map
  • Hash Set

Each category solves different problems:

  • Linear — ordered data, undo/redo, scheduling
  • Tree — searching, sorting, hierarchical data like file systems
  • Graph — networks, maps, social connections, dependencies
  • Hash — fast lookups, caching, counting
  • Set — membership testing, deduplication

Documentation

go doc -all ./linear | bat -l go
S
Description
No description provided
Readme 56 KiB
Languages
Go 100%