Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ types & classes
Types & classes
127 in github.com/TheAlgorithms/Go
⨍
Functions
1,378
◇
Types & classes
127
↓ 4 callers
TypeAlias
Color
Color provides a type for vertex color
graph/coloring/graph.go:10
↓ 3 callers
TypeAlias
Vertex
graph/kruskal.go:15
↓ 1 callers
TypeAlias
NodeValue
project_euler/problem_18/problem18.go:32
Struct
AVL
AVL represents a AVL tree. By default, _NIL = nil.
structure/tree/avl.go:48
Struct
AVLNode
AVLNode represents a single node in the AVL.
structure/tree/avl.go:18
Struct
Array
structure/stack/stackarray.go:12
Struct
BSNode
BSNode represents a single node in the BinarySearch.
structure/tree/bstree.go:15
Struct
BTree
structure/tree/btree.go:15
Struct
BTreeNode
structure/tree/btree.go:8
Struct
BinarySearch
BinarySearch represents a Binary-Search tree. By default, _NIL = nil.
structure/tree/bstree.go:40
Struct
CRCModel
CRCModel contains the necessary parameters for calculating the DRC algorithm
checksum/crc8.go:17
Struct
CircularQueue
CircularQueue represents a circular queue data structure.
structure/circularqueue/circularqueuearray.go:20
TypeAlias
Color
structure/tree/rbtree.go:14
Struct
Combinations
Combinations structure with in and out rune
strings/combination/combination.go:7
Interface
Comparable
sort/heapsort.go:117
Struct
Conf
Conf stands for configurations set provided to GeneticString function.
strings/genetic/genetic.go:32
Struct
Cyclic
Cyclic Struct which cycles the linked list in this implementation.
structure/linkedlist/cyclic.go:6
Struct
DFSNode
project_euler/problem_18/tree.go:56
Struct
Doubly
Doubly structure with just the Head Node We call it `Doubly` to make it easier to understand when calling this in peoples own local code to understand
structure/linkedlist/doubly.go:18
Struct
DoublyEndedQueue
structure/deque/deque.go:17
Struct
DynamicArray
DynamicArray structure
structure/dynamicarray/dynamicarray.go:21
Struct
Edge
graph/kruskal.go:17
Struct
Edge
project_euler/problem_18/edge.go:3
TypeAlias
EuclideanPoint
EuclideanPoint defines a point with x and y coordinates.
math/geometry/distance.go:16
Struct
FenwickTree
FenwickTree represents the data structure of the Fenwick Tree
structure/fenwicktree/fenwicktree.go:11
Interface
Float
Float is a generic type constraint for all floating point types.
constraints/constraints.go:23
Struct
Graph
Graph provides a structure to store the graph. It is safe to use its empty object.
graph/graph.go:9
Struct
Graph
Graph provides a structure to store an undirected graph. It is safe to use its empty object.
graph/coloring/graph.go:14
Struct
HashMap
HashMap is a Golang implementation of a hashmap
structure/hashmap/hashmap.go:17
Struct
Heap
Heap heap implementation using generic.
structure/heap/heap.go:9
Interface
ITree
graph/lowestcommonancestor.go:19
Interface
Integer
Integer is a generic type constraint for all integers (signed and unsigned.)
constraints/constraints.go:18
TypeAlias
IsogramOrder
strings/isisogram.go:16
Struct
Item
graph/dijkstra.go:12
Struct
LFU
LFU the Least Frequently Used (LFU) page-replacement algorithm
cache/lfu.go:19
Struct
LQueue
LQueue will be store the value into the list
structure/queue/queuelinklistwithlist.go:20
Struct
LRU
cache/lru.go:22
Struct
Leaf
project_euler/problem_18/leaf.go:3
Struct
Line
math/geometry/straightlines.go:13
Struct
Matrix
math/matrix/matrix.go:10
Struct
MaxHeap
sort/heapsort.go:11
Interface
Node
structure/tree/tree.go:15
Interface
Node
project_euler/problem_18/problem18.go:35
Struct
Node
Node structure
structure/stack/stacklinkedlist.go:13
Struct
Node
Node will be store the value and the next node as well
structure/queue/queuelinkedlist.go:13
Struct
Node
Node Structure representing the linkedlist node. This node is shared across different implementations.
structure/linkedlist/shared.go:5
Struct
Node
Node represents each node in Trie.
structure/trie/trie.go:7
Struct
Node
A Node of an Huffman tree, which can either be a leaf or an internal node. Each node has a weight. A leaf node has an associated symbol, but no childr
compression/huffmancoding.go:19
TypeAlias
NodeType
project_euler/problem_18/problem18.go:33
Interface
Number
Number is a generic type constraint for all numeric types in Go except Complex types.
constraints/constraints.go:28
Interface
Ordered
Ordered is a generic type constraint for all ordered data types in Go. Loosely speaking, in mathematics a field is an ordered field if there is a "tot
constraints/constraints.go:38
Struct
Point
Point defines a point with x and y coordinates.
math/geometry/straightlines.go:9
Struct
Polybius
Polybius is struct having size, characters, and key
cipher/polybius/polybius.go:16
Struct
PopulationItem
Population item represent a single step in the evolution process. One can think of population item as a single species. Key stands for the actual data
strings/genetic/genetic.go:26
Struct
Query
graph/lowestcommonancestor_test.go:9
Struct
QueryStructure
structure/deque/deque_test.go:20
Struct
Queue
Queue structure is tell us what our head is and what tail should be with length of the list
structure/queue/queuelinkedlist.go:19
Struct
RB
RB represents a Red-Black tree. By default, _NIL = leaf, a dummy variable.
structure/tree/rbtree.go:51
Struct
RBNode
RBNode represents a single node in the RB.
structure/tree/rbtree.go:25
Struct
Result
Result structure contains generation process statistics, as well as the best resulted population item.
strings/genetic/genetic.go:52
Struct
Result
Result structure to hold occurrences
strings/ahocorasick/ahocorasick.go:9
Struct
Root
project_euler/problem_18/root.go:3
Struct
SList
SList is our struct that point to stack with container/list.List library
structure/stack/stacklinkedlistwithlist.go:18
Struct
SegmentTree
SegmentTree represents the data structure of a segment tree with lazy propagation
structure/segmenttree/segmenttree.go:17
Interface
Set
Set is an interface of possible methods on 'set'.
structure/set/set.go:18
Interface
Signed
Signed is a generic type constraint for all signed integers.
constraints/constraints.go:8
Struct
Singly
Singly structure with length of the list and its head
structure/linkedlist/singlylinkedlist.go:10
Struct
SqrtDecomposition
Sqrt (or Square Root) Decomposition is a technique used for query an array and perform updates Inside this package is described its most simple data s
sqrt/sqrtdecomposition.go:21
Struct
Stack
Stack has jost top of node and with length
structure/stack/stacklinkedlist.go:19
Struct
SymbolFreq
A SymbolFreq is a pair of a symbol and its associated frequency.
compression/huffmancoding.go:27
Struct
TestCaseData
structure/deque/deque_test.go:27
Interface
TestTree
structure/tree/example_test.go:11
Struct
Tree
graph/lowestcommonancestor.go:27
Struct
Tree
project_euler/problem_18/tree.go:8
Struct
TreeEdge
graph/lowestcommonancestor.go:14
Struct
UnionFind
Defining the union-find data structure
graph/unionfind.go:19
Interface
Unsigned
Unsigned is a generic type constraint for all unsigned integers.
constraints/constraints.go:13
Struct
Vector
Vector defines a tuple with 3 values in 3d-space
math/pythagoras/pythagoras.go:8
TypeAlias
WeightedGraph
WeightedGraph defining matrix to use 2d array easier
graph/floydwarshall.go:11
Struct
apHelper
apHelper stores auxiliary data used to identify articulation points in a graph.
graph/articulationpoints.go:7
Struct
args
strings/kmp/kmp_test.go:9
Struct
args
math/geometry/distance_test.go:10
Struct
cases
math/modular/exponentiation_test.go:10
TypeAlias
dict
project_euler/problem_14/problem14.go:20
Struct
dsa
dsa represents the DSA
cipher/dsa/dsa.go:28
FuncType
factorialFun
func(int) (int, error)
math/factorial/factorial_test.go:10
Struct
isPerfectNumberTestCase
math/perfectnumber_test.go:108
Struct
item
cache/lru.go:14
TypeAlias
minEdge
graph/prim.go:12
Struct
node
structure/hashmap/hashmap.go:10
Struct
numeral
numeral describes the value and symbol of a single roman numeral
conversion/romantoint.go:17
Struct
parameters
parameters represents the DSA parameters
cipher/dsa/dsa.go:23
FuncType
primalityTest
func(int64) bool
math/prime/prime_test.go:11
Struct
query
Query interval
structure/segmenttree/segmenttree_test.go:8
Struct
query
structure/fenwicktree/fenwicktree_test.go:8
Struct
query
Query interval
sqrt/sqrtdecomposition_test.go:9
Struct
rodCuttingTestCase
dynamic/rodcutting_test.go:9
Struct
rsa
rsa struct contains the public key, private key and modulus
cipher/rsa/rsa2.go:24
Struct
searchTest
search/testcases.go:3
Struct
set
structure/set/set.go:53
next →
1–100 of 127, ranked by callers