Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ functions
Functions
1,378 in github.com/TheAlgorithms/Go
⨍
Functions
1,378
◇
Types & classes
127
Function
TestFindKthMax
(t *testing.T)
math/kthnumber_test.go:8
Function
TestFindKthMin
(t *testing.T)
math/kthnumber_test.go:57
Function
TestFloydWarshall
(t *testing.T)
graph/floydwarshall_test.go:41
Function
TestFormula
(t *testing.T)
math/fibonacci/fibonacci_test.go:56
Function
TestGCDIterative
(t *testing.T)
math/gcd/gcd_test.go:33
Function
TestGCDRecursive
(t *testing.T)
math/gcd/gcd_test.go:29
Function
TestGenerateParenthesis
(t *testing.T)
strings/generateparentheses/generateparentheses_test.go:10
Function
TestGeneratePrimes
(t *testing.T)
math/prime/sieve_test.go:36
Function
TestGenerateTriangle
(t *testing.T)
math/pascal/pascaltriangle_test.go:13
Function
TestGraphColorUsingBFS
(t *testing.T)
graph/coloring/bfs_test.go:11
Function
TestGraphColorUsingBacktracking
(t *testing.T)
graph/coloring/backtracking_test.go:11
Function
TestGraphColorUsingGreedyApproach
(t *testing.T)
graph/coloring/greedy_test.go:11
Function
TestGraphValidateColorsOfVertex_Negative
(t *testing.T)
graph/coloring/graph_test.go:145
Function
TestGraph_ValidateColorsOfVertex
(t *testing.T)
graph/coloring/graph_test.go:121
Function
TestHEXToRGB
(t *testing.T)
conversion/rgbhex_test.go:17
Function
TestHammingDistance
(t *testing.T)
strings/hamming/hammingdistance_test.go:43
Function
TestHasCycle
(t *testing.T)
graph/cycle_test.go:7
Function
TestHash
TestHash verifies that the Hash function produces the correct SHA-1 hash values
hashing/sha1/sha1_test.go:32
Function
TestHash
TestHash verifies that the Hash function produces the correct MD5 hash values
hashing/md5/md5_test.go:32
Function
TestHash
(t *testing.T)
hashing/sha256/sha256_test.go:8
Function
TestHashMap
(t *testing.T)
structure/hashmap/hashmap_test.go:9
Function
TestHeap
(t *testing.T)
sort/sorts_test.go:137
Function
TestHeapExample1
(t *testing.T)
structure/heap/heap_test.go:64
Function
TestHeapExample2
(t *testing.T)
structure/heap/heap_test.go:98
Function
TestHeap_Empty
(t *testing.T)
structure/heap/heap_test.go:27
Function
TestHeaps
(t *testing.T)
math/permutation/heaps_test.go:9
Function
TestHexToBinary
(t *testing.T)
conversion/hexadecimaltobinary_test.go:7
Function
TestHexToDecimal
(t *testing.T)
conversion/hexadecimaltodecimal_test.go:7
Function
TestHuffman
(t *testing.T)
compression/huffmancoding_test.go:31
Function
TestImprovedSimple
(t *testing.T)
sort/sorts_test.go:161
Function
TestInsertion
(t *testing.T)
sort/sorts_test.go:105
Function
TestIntToRoman
(t *testing.T)
conversion/inttoroman_test.go:5
Function
TestIntercept
(t *testing.T)
math/geometry/straightlines_test.go:36
Function
TestInterpolation
(t *testing.T)
search/interpolation_test.go:5
Function
TestIntersection
(t *testing.T)
structure/set/set_test.go:144
Function
TestInverse
(t *testing.T)
math/modular/inverse_test.go:11
Function
TestIsArmstrong
(t *testing.T)
math/armstrong/isarmstrong_test.go:44
Function
TestIsAutomorphic
(t *testing.T)
math/isautomorphic_test.go:49
Function
TestIsBalancedFalty
(t *testing.T)
other/nested/nestedbrackets_test.go:18
Function
TestIsBalancedHandlesEmpty
(t *testing.T)
other/nested/nestedbrackets_test.go:29
Function
TestIsBalancedHandlesNonBracketsCorrectly
(t *testing.T)
other/nested/nestedbrackets_test.go:51
Function
TestIsBalancedHandlesOneChar
(t *testing.T)
other/nested/nestedbrackets_test.go:40
Function
TestIsBalancedHandlesOrdering
(t *testing.T)
other/nested/nestedbrackets_test.go:62
Function
TestIsBalancedSimple
(t *testing.T)
other/nested/nestedbrackets_test.go:7
Function
TestIsInterleave
(t *testing.T)
dynamic/interleavingstrings_test.go:29
Function
TestIsIsogram
(t *testing.T)
strings/isisogram_test.go:117
Function
TestIsKrishnamurthyNumber
(t *testing.T)
math/krishnamurthy_test.go:32
Function
TestIsMatch
TestIsMatch tests the IsMatch function with various test cases
dynamic/wildcardmatching_test.go:35
Function
TestIsPalindrome
(t *testing.T)
strings/palindrome/ispalindrome_test.go:44
Function
TestIsPalindromeRecursive
(t *testing.T)
strings/palindrome/ispalindrome_test.go:55
Function
TestIsPangram
(t *testing.T)
strings/pangram/ispangram_test.go:44
Function
TestIsParallel
(t *testing.T)
math/geometry/straightlines_test.go:46
Function
TestIsPerfectNumber
(t *testing.T)
math/perfectnumber_test.go:139
Function
TestIsPerpendicular
(t *testing.T)
math/geometry/straightlines_test.go:54
Function
TestIsPowOfTwoUseLog
(t *testing.T)
math/checkisnumberpoweroftwo_test.go:37
Function
TestIsPowOfTwoUseLog
(t *testing.T)
math/binary/checkisnumberpoweroftwo_test.go:64
Function
TestIsPowerOfTwo
(t *testing.T)
math/binary/checkisnumberpoweroftwo_test.go:38
Function
TestIsPowerOfTwoLeftShift
(t *testing.T)
math/binary/checkisnumberpoweroftwo_test.go:51
Function
TestIsProperSubsetOf
(t *testing.T)
structure/set/set_test.go:85
Function
TestIsProperSupersetOf
(t *testing.T)
structure/set/set_test.go:108
Function
TestIsSubsequence
(t *testing.T)
strings/issubsequence_test.go:10
Function
TestIsSubsetOf
(t *testing.T)
structure/set/set_test.go:72
Function
TestIsSupersetOf
(t *testing.T)
structure/set/set_test.go:95
Function
TestIsValid
(t *testing.T)
math/matrix/isvalid_test.go:9
Function
TestIterativePower
(t *testing.T)
math/power/fastexponent_test.go:18
Function
TestJosephusProblem
(t *testing.T)
structure/linkedlist/cyclic_test.go:104
Function
TestJump
(t *testing.T)
search/jump_test.go:5
Function
TestJump2
(t *testing.T)
search/jump2_test.go:5
Function
TestKahn
(t *testing.T)
graph/kahn_test.go:7
Function
TestKmp
(t *testing.T)
strings/kmp/kmp_test.go:8
Function
TestKnapsack
(t *testing.T)
dynamic/knapsack_test.go:10
Function
TestKosaraju
(t *testing.T)
graph/kosaraju_test.go:9
Function
TestKruskalMST
(t *testing.T)
graph/kruskal_test.go:8
Function
TestLCA
(t *testing.T)
graph/lowestcommonancestor_test.go:15
Function
TestLCAWithLargeTree
Test with the tree with up to 2000 vertices.
graph/lowestcommonancestor_test.go:233
Function
TestLFU
(t *testing.T)
cache/lfu_test.go:9
Function
TestLHorspool
(t *testing.T)
strings/horspool/horspool_test.go:10
Function
TestLHorspoolNotExisintPattern
(t *testing.T)
strings/horspool/horspool_test.go:43
Function
TestLRU
(t *testing.T)
cache/lru_test.go:9
Function
TestLcm
(t *testing.T)
math/lcm/lcm_test.go:5
Function
TestLerp
(t *testing.T)
math/lerp_test.go:9
Function
TestLevenshteinDistance
(t *testing.T)
strings/levenshtein/levenshteindistance_test.go:43
Function
TestLinear
(t *testing.T)
search/linear_test.go:7
Function
TestLiouvilleLambda
(t *testing.T)
math/liouville_test.go:14
Function
TestLogBase2
(t *testing.T)
math/binary/logarithm_test.go:13
Function
TestLongestArithmeticSubsequence
(t *testing.T)
dynamic/longestarithmeticsubsequence_test.go:29
Function
TestLongestCommonSubsequence
(t *testing.T)
dynamic/longestcommonsubsequence_test.go:36
Function
TestLongestIncreasingSubsequence
(t *testing.T)
dynamic/longestincreasingsubsequence_test.go:32
Function
TestLongestIncreasingSubsequenceGreedy
(t *testing.T)
dynamic/longestincreasingsubsequence_test.go:36
Function
TestLongestPalindrome
(t *testing.T)
strings/manacher/longestpalindrome_test.go:27
Function
TestLongestPalindromicSubstring
(t *testing.T)
dynamic/longestpalindromicsubstring_test.go:28
Function
TestLowerBound
(t *testing.T)
search/binary_test.go:32
Function
TestLpsDp
(t *testing.T)
dynamic/longestpalindromicsubsequence_test.go:38
Function
TestLpsRec
(t *testing.T)
dynamic/longestpalindromicsubsequence_test.go:34
Function
TestLuhn
(t *testing.T)
checksum/luhn_test.go:14
Function
TestMatrix
(t *testing.T)
math/fibonacci/fibonacci_test.go:34
Function
TestMatrixColumns
(t *testing.T)
math/matrix/matrix_test.go:147
Function
TestMatrixCopy
(t *testing.T)
math/matrix/copy_test.go:9
Function
TestMatrixCopyEmpty
(t *testing.T)
math/matrix/copy_test.go:45
Function
TestMatrixCopyWithDefaultValues
(t *testing.T)
math/matrix/copy_test.go:66
← previous
next →
1,101–1,200 of 1,378, ranked by callers