Skip to content

jefersonf/gods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Data Structures

Requirements

  • Go 1.18+

Algebra

Fundamentals

  • Binary Exponentiation
  • GCD (Greatest Common Divisor)
  • Extended GCD
  • LCM (Least Common Multiple)

Basic Data Structures

  • Queue
  • Stack

Tree

  • DSU (Disjoint-Set Union)
  • Segment Tree
  • Fenwick Tree (Binary-index Tree)
  • Trie

Tests

Running tests example for Segment tree.

$ cd tree/segment
$ go test -v

Contributions are Welcome!

About

DSA implementations in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages