MCPcopy Create free account

hub / github.com/TheAlgorithms/Go / functions

Functions1,378 in github.com/TheAlgorithms/Go

FunctionTestFindKthMax
(t *testing.T)
math/kthnumber_test.go:8
FunctionTestFindKthMin
(t *testing.T)
math/kthnumber_test.go:57
FunctionTestFloydWarshall
(t *testing.T)
graph/floydwarshall_test.go:41
FunctionTestFormula
(t *testing.T)
math/fibonacci/fibonacci_test.go:56
FunctionTestGCDIterative
(t *testing.T)
math/gcd/gcd_test.go:33
FunctionTestGCDRecursive
(t *testing.T)
math/gcd/gcd_test.go:29
FunctionTestGenerateParenthesis
(t *testing.T)
strings/generateparentheses/generateparentheses_test.go:10
FunctionTestGeneratePrimes
(t *testing.T)
math/prime/sieve_test.go:36
FunctionTestGenerateTriangle
(t *testing.T)
math/pascal/pascaltriangle_test.go:13
FunctionTestGraphColorUsingBFS
(t *testing.T)
graph/coloring/bfs_test.go:11
FunctionTestGraphColorUsingBacktracking
(t *testing.T)
graph/coloring/backtracking_test.go:11
FunctionTestGraphColorUsingGreedyApproach
(t *testing.T)
graph/coloring/greedy_test.go:11
FunctionTestGraphValidateColorsOfVertex_Negative
(t *testing.T)
graph/coloring/graph_test.go:145
FunctionTestGraph_ValidateColorsOfVertex
(t *testing.T)
graph/coloring/graph_test.go:121
FunctionTestHEXToRGB
(t *testing.T)
conversion/rgbhex_test.go:17
FunctionTestHammingDistance
(t *testing.T)
strings/hamming/hammingdistance_test.go:43
FunctionTestHasCycle
(t *testing.T)
graph/cycle_test.go:7
FunctionTestHash
TestHash verifies that the Hash function produces the correct SHA-1 hash values
hashing/sha1/sha1_test.go:32
FunctionTestHash
TestHash verifies that the Hash function produces the correct MD5 hash values
hashing/md5/md5_test.go:32
FunctionTestHash
(t *testing.T)
hashing/sha256/sha256_test.go:8
FunctionTestHashMap
(t *testing.T)
structure/hashmap/hashmap_test.go:9
FunctionTestHeap
(t *testing.T)
sort/sorts_test.go:137
FunctionTestHeapExample1
(t *testing.T)
structure/heap/heap_test.go:64
FunctionTestHeapExample2
(t *testing.T)
structure/heap/heap_test.go:98
FunctionTestHeap_Empty
(t *testing.T)
structure/heap/heap_test.go:27
FunctionTestHeaps
(t *testing.T)
math/permutation/heaps_test.go:9
FunctionTestHexToBinary
(t *testing.T)
conversion/hexadecimaltobinary_test.go:7
FunctionTestHexToDecimal
(t *testing.T)
conversion/hexadecimaltodecimal_test.go:7
FunctionTestHuffman
(t *testing.T)
compression/huffmancoding_test.go:31
FunctionTestImprovedSimple
(t *testing.T)
sort/sorts_test.go:161
FunctionTestInsertion
(t *testing.T)
sort/sorts_test.go:105
FunctionTestIntToRoman
(t *testing.T)
conversion/inttoroman_test.go:5
FunctionTestIntercept
(t *testing.T)
math/geometry/straightlines_test.go:36
FunctionTestInterpolation
(t *testing.T)
search/interpolation_test.go:5
FunctionTestIntersection
(t *testing.T)
structure/set/set_test.go:144
FunctionTestInverse
(t *testing.T)
math/modular/inverse_test.go:11
FunctionTestIsArmstrong
(t *testing.T)
math/armstrong/isarmstrong_test.go:44
FunctionTestIsAutomorphic
(t *testing.T)
math/isautomorphic_test.go:49
FunctionTestIsBalancedFalty
(t *testing.T)
other/nested/nestedbrackets_test.go:18
FunctionTestIsBalancedHandlesEmpty
(t *testing.T)
other/nested/nestedbrackets_test.go:29
FunctionTestIsBalancedHandlesNonBracketsCorrectly
(t *testing.T)
other/nested/nestedbrackets_test.go:51
FunctionTestIsBalancedHandlesOneChar
(t *testing.T)
other/nested/nestedbrackets_test.go:40
FunctionTestIsBalancedHandlesOrdering
(t *testing.T)
other/nested/nestedbrackets_test.go:62
FunctionTestIsBalancedSimple
(t *testing.T)
other/nested/nestedbrackets_test.go:7
FunctionTestIsInterleave
(t *testing.T)
dynamic/interleavingstrings_test.go:29
FunctionTestIsIsogram
(t *testing.T)
strings/isisogram_test.go:117
FunctionTestIsKrishnamurthyNumber
(t *testing.T)
math/krishnamurthy_test.go:32
FunctionTestIsMatch
TestIsMatch tests the IsMatch function with various test cases
dynamic/wildcardmatching_test.go:35
FunctionTestIsPalindrome
(t *testing.T)
strings/palindrome/ispalindrome_test.go:44
FunctionTestIsPalindromeRecursive
(t *testing.T)
strings/palindrome/ispalindrome_test.go:55
FunctionTestIsPangram
(t *testing.T)
strings/pangram/ispangram_test.go:44
FunctionTestIsParallel
(t *testing.T)
math/geometry/straightlines_test.go:46
FunctionTestIsPerfectNumber
(t *testing.T)
math/perfectnumber_test.go:139
FunctionTestIsPerpendicular
(t *testing.T)
math/geometry/straightlines_test.go:54
FunctionTestIsPowOfTwoUseLog
(t *testing.T)
math/checkisnumberpoweroftwo_test.go:37
FunctionTestIsPowOfTwoUseLog
(t *testing.T)
math/binary/checkisnumberpoweroftwo_test.go:64
FunctionTestIsPowerOfTwo
(t *testing.T)
math/binary/checkisnumberpoweroftwo_test.go:38
FunctionTestIsPowerOfTwoLeftShift
(t *testing.T)
math/binary/checkisnumberpoweroftwo_test.go:51
FunctionTestIsProperSubsetOf
(t *testing.T)
structure/set/set_test.go:85
FunctionTestIsProperSupersetOf
(t *testing.T)
structure/set/set_test.go:108
FunctionTestIsSubsequence
(t *testing.T)
strings/issubsequence_test.go:10
FunctionTestIsSubsetOf
(t *testing.T)
structure/set/set_test.go:72
FunctionTestIsSupersetOf
(t *testing.T)
structure/set/set_test.go:95
FunctionTestIsValid
(t *testing.T)
math/matrix/isvalid_test.go:9
FunctionTestIterativePower
(t *testing.T)
math/power/fastexponent_test.go:18
FunctionTestJosephusProblem
(t *testing.T)
structure/linkedlist/cyclic_test.go:104
FunctionTestJump
(t *testing.T)
search/jump_test.go:5
FunctionTestJump2
(t *testing.T)
search/jump2_test.go:5
FunctionTestKahn
(t *testing.T)
graph/kahn_test.go:7
FunctionTestKmp
(t *testing.T)
strings/kmp/kmp_test.go:8
FunctionTestKnapsack
(t *testing.T)
dynamic/knapsack_test.go:10
FunctionTestKosaraju
(t *testing.T)
graph/kosaraju_test.go:9
FunctionTestKruskalMST
(t *testing.T)
graph/kruskal_test.go:8
FunctionTestLCA
(t *testing.T)
graph/lowestcommonancestor_test.go:15
FunctionTestLCAWithLargeTree
Test with the tree with up to 2000 vertices.
graph/lowestcommonancestor_test.go:233
FunctionTestLFU
(t *testing.T)
cache/lfu_test.go:9
FunctionTestLHorspool
(t *testing.T)
strings/horspool/horspool_test.go:10
FunctionTestLHorspoolNotExisintPattern
(t *testing.T)
strings/horspool/horspool_test.go:43
FunctionTestLRU
(t *testing.T)
cache/lru_test.go:9
FunctionTestLcm
(t *testing.T)
math/lcm/lcm_test.go:5
FunctionTestLerp
(t *testing.T)
math/lerp_test.go:9
FunctionTestLevenshteinDistance
(t *testing.T)
strings/levenshtein/levenshteindistance_test.go:43
FunctionTestLinear
(t *testing.T)
search/linear_test.go:7
FunctionTestLiouvilleLambda
(t *testing.T)
math/liouville_test.go:14
FunctionTestLogBase2
(t *testing.T)
math/binary/logarithm_test.go:13
FunctionTestLongestArithmeticSubsequence
(t *testing.T)
dynamic/longestarithmeticsubsequence_test.go:29
FunctionTestLongestCommonSubsequence
(t *testing.T)
dynamic/longestcommonsubsequence_test.go:36
FunctionTestLongestIncreasingSubsequence
(t *testing.T)
dynamic/longestincreasingsubsequence_test.go:32
FunctionTestLongestIncreasingSubsequenceGreedy
(t *testing.T)
dynamic/longestincreasingsubsequence_test.go:36
FunctionTestLongestPalindrome
(t *testing.T)
strings/manacher/longestpalindrome_test.go:27
FunctionTestLongestPalindromicSubstring
(t *testing.T)
dynamic/longestpalindromicsubstring_test.go:28
FunctionTestLowerBound
(t *testing.T)
search/binary_test.go:32
FunctionTestLpsDp
(t *testing.T)
dynamic/longestpalindromicsubsequence_test.go:38
FunctionTestLpsRec
(t *testing.T)
dynamic/longestpalindromicsubsequence_test.go:34
FunctionTestLuhn
(t *testing.T)
checksum/luhn_test.go:14
FunctionTestMatrix
(t *testing.T)
math/fibonacci/fibonacci_test.go:34
FunctionTestMatrixColumns
(t *testing.T)
math/matrix/matrix_test.go:147
FunctionTestMatrixCopy
(t *testing.T)
math/matrix/copy_test.go:9
FunctionTestMatrixCopyEmpty
(t *testing.T)
math/matrix/copy_test.go:45
FunctionTestMatrixCopyWithDefaultValues
(t *testing.T)
math/matrix/copy_test.go:66
← previousnext →1,101–1,200 of 1,378, ranked by callers