ErrLookup › TheAlgorithms/Go

TheAlgorithms/Go

Algorithms and Data Structures implemented in Go for beginners, following best practices. · Go · 272 source files

Analyzed at 5ba447ec5f on 2026-09-02. 80 documented errors.

Code / MessageTypeSeverityTags
populationNum must be bigger than selectionNum
validation error go, genetic-algorithm, configuration, invalid-input
factorization failed
validation warning go, math, factorization, probabilistic-algorithm
negative Exponent provided
validation error go, math, modular-arithmetic, invalid-input
target not found in array
validation warning go, search, not-found, invalid-input
failed to Encrypt
validation error rsa, encryption, go
cannot delete key from node with minimum number of keys
panic error panic, btree, invariant-violation
no text to encrypt
validation error transposition, cipher, go, empty-input
error queue is empty
validation error go, queue, data-structure, empty-collection
invalid character in hexadecimal string:
validation error conversion, hexadecimal, go, input-validation
nodes should not have less than the minimum number of keys
panic error panic, btree, invariant-violation
interval boundaries should be finite numbers
validation error go, math, ternary-search, input-validation
Cannot contain numbers or symbols
validation error isogram, input-validation, strings
not a valid binary string
validation error conversion, binary, go, input-validation
failed to Decrypt
validation error rsa, decryption, go
pattern was not found in the input string
validation warning string-search, sentinel-error, not-found
dequeue is empty we got an error
validation error go, queue, data-structure, empty-collection
input string is empty
validation error conversion, hexadecimal, go, empty-input
panic(err)
panic critical go, crypto, dsa, panic, random-generation
size must be greater than 0
validation error go, validation, data-structures, circular-queue
Invalid isogram order provided
validation error isogram, enum-validation, strings
BTree maxKeys cannot be zero
panic critical panic, btree, invalid-argument
character not available in charmap at position
validation error genetic-algorithm, validation, strings
ErrInvalidPosition
invalid position in subset
error_code error
missing Key
validation error transposition, cipher, go, missing-key
left boundary starts from the first node
validation error go, data-structures, linked-list, bounds-check, off-by-one
binary number must be in range 0 to 2^(31-1)
validation error conversion, binary, overflow, go
Must be >= 3 keys
panic critical panic, btree, invalid-argument
invalid roman numeral
validation error
ErrEmptyDequeue
DoublyEnded queue is empty, so can't perform this operation
error_code warning go, data-structures, deque, sentinel-error, underflow
no Modular Inverse exists
validation error go, math, modular-arithmetic, modular-inverse
node has too few keys
panic error panic, btree, invariant-violation
stack list is empty
validation error go, stack, data-structure, empty-collection
Called InsertNonFull() with a full node
panic error panic, btree, precondition-failed
ErrNegativeSum
negative sum is not allowed
error_code error
invalid hexadecimal string:
validation error conversion, hexadecimal, go, input-validation
node has too many keys
panic error panic, btree, invariant-violation
empty slice provided
validation warning math, empty-slice, sentinel-error, go
less func is necessary
validation error go, data-structures, heap, nil-check, constructor-validation
arguments cannot be zero
validation error
cannot merge when leaf node is parent
panic error panic, btree, invalid-operation
huffman coding: HuffTree : calling method with empty list…
validation error
x must be < n - given values are x=
validation error
negative weight cycle present
validation error
index out of bounds
validation error matrix, out-of-bounds, bounds-check, go
integer must have +ve value
validation error conversion, binary, go, negative-number
provided string should only contain latin characters
validation error
queue is full
validation error go, data-structures, circular-queue, overflow
left boundary must smaller than right
validation error go, data-structures, linked-list, bounds-check, argument-validation
ErrNoTextToEncrypt
: cannot encrypt a text, , ending with the placeholder char
error_code error
integer overflow
validation error math, integer-overflow, int64, modular-arithmetic, go
matrices are not compatible for addition
validation error
invalid character in hexadecimal string: %c
validation error
provided size cannot be negative
validation error
index out of range
validation error go, data-structures, dynamic-array, bounds-check, index-out-of-range
negative dimensions are not allowed
validation error matrix, submatrix, negative-index, go
contains same character
validation error
submatrix dimensions exceed matrix bounds
validation error matrix, submatrix, out-of-bounds, go
%c does not exist in characters
validation error
integer must be between 1 and 3999
validation error
matrices are not compatible for subtraction
validation error matrix, subtraction, dimension-mismatch, go
does not exist in keys
validation error
coloring: same colors of neighbouring vertex
validation error
len(key): must be as long as size squared
validation error
queue is empty
validation warning go, data-structures, circular-queue, underflow
right boundary cannot be greater than the length of the…
validation error go, data-structures, linked-list, bounds-check, index-out-of-range
deleting out of bounds key
panic error panic, btree, out-of-range
invalid hexadecimal string
validation error
mismatched dimensions
validation error
strings must have a same length
validation error hamming-distance, strings, validation
Matrix rows and columns must equal in order to find the…
validation error matrix, determinant, dimension-mismatch, go
arguments must be positive
validation error
rows have different numbers of columns
validation error matrix, jagged-slice, validation, go
failed encipher
validation error
input argument must be non-negative integer
validation error
matrices cannot be multiplied: column count of the first…
validation error matrix, multiplication, dimension-mismatch, go
can't have a negative n-th catalan number
error_code error
coloring: not all vertices of graph are colored
validation error
the size of "chars" must be even
validation error
failed decipher
validation error
provided size is too small to use to slice string of len
validation error