- Go 1.18+
- Binary Exponentiation
- GCD (Greatest Common Divisor)
- Extended GCD
- LCM (Least Common Multiple)
- Queue
- Stack
- DSU (Disjoint-Set Union)
- Segment Tree
- Fenwick Tree (Binary-index Tree)
- Trie
Running tests example for Segment tree
.
$ cd tree/segment
$ go test -v