Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hemant-Jain-Author/Data-Structures-Algorithms-In-Go
/ functions
Functions
1,518 in github.com/Hemant-Jain-Author/Data-Structures-Algorithms-In-Go
⨍
Functions
1,518
◇
Types & classes
101
↓ 1 callers
Method
IsPresent
(data int)
LinkedLIst/CircularLinkedList.go:72
↓ 1 callers
Method
IsPresent
(key int)
LinkedLIst/DoublyCircularLIst.go:33
↓ 1 callers
Function
IsPrime
* true */
String/StringEx.go:66
↓ 1 callers
Method
IsStronglyConnected
()
Graph/Graph.go:802
↓ 1 callers
Method
IsStronglyConnected2
()
Graph/Graph.go:1029
↓ 1 callers
Function
JoinRopes
JoinRopes joins the ropes and returns the total cost
AlgorithmsChapters/Greedy/JoinRopes.go:9
↓ 1 callers
Function
JoinRopes2
JoinRopes2 joins the ropes using a heap and returns the total cost
AlgorithmsChapters/Greedy/JoinRopes.go:41
↓ 1 callers
Function
Josephus
(n int, k int)
Queue/QueueEX.go:19
↓ 1 callers
Function
KLargestElements
* (1 : 2) (2 : 3) (1 : 2) (2 : 3) (1 : 2) (2 : 3) (1 : 2) (2 : 3) */
Searching/Searching.go:2486
↓ 1 callers
Function
KLargestElements2
(arrIn []int, size int, k int)
Searching/Searching.go:2530
↓ 1 callers
Function
KMP
(text string, pattern string)
String/StringMatching.go:79
↓ 1 callers
Function
KMPFindCount
(text string, pattern string)
String/StringMatching.go:101
↓ 1 callers
Function
KS01UnboundedBU
(items []*Item, capacity int)
AlgorithmsChapters/DP/Knapsack.go:20
↓ 1 callers
Function
KSmallestProduct
* Kth Smallest :: 5 Kth Smallest :: 5 */
Heap/heap2.go:381
↓ 1 callers
Function
KSmallestProduct
* Kth Smallest :: 5 Kth Smallest :: 5 */
Heap/Heap.go:366
↓ 1 callers
Function
KSmallestProduct2
(arr []int, size int, k int)
Heap/heap2.go:390
↓ 1 callers
Function
KSmallestProduct2
(arr []int, size int, k int)
Heap/Heap.go:375
↓ 1 callers
Function
KSmallestProduct3
(arr []int, size int, k int)
Heap/heap2.go:441
↓ 1 callers
Function
KSmallestProduct3
(arr []int, size int, k int)
Heap/Heap.go:426
↓ 1 callers
Function
KSmallestProduct4
(arr []int, size int, k int)
Heap/heap2.go:449
↓ 1 callers
Function
KSmallestProduct4
(arr []int, size int, k int)
Heap/Heap.go:434
↓ 1 callers
Function
KthBitCheck
(a int, k int)
Searching/BitManipulation.go:30
↓ 1 callers
Function
KthBitReset
(a int, k int)
Searching/BitManipulation.go:34
↓ 1 callers
Function
KthBitSet
(a int, k int)
Searching/BitManipulation.go:38
↓ 1 callers
Function
KthBitToggle
(a int, k int)
Searching/BitManipulation.go:42
↓ 1 callers
Function
KthSmallest
* Median after insertion of 1 is 1 Median after insertion of 9 is 5 Median after insertion of 2 is 2 Median after insertion of 8 is 5 Median after ins
Heap/heap2.go:331
↓ 1 callers
Function
KthSmallest
* Median after insertion of 1 is 1 Median after insertion of 9 is 5 Median after insertion of 2 is 2 Median after insertion of 8 is 5 Median after ins
Heap/Heap.go:322
↓ 1 callers
Function
KthSmallest2
(arr []int, size int, k int)
Heap/heap2.go:336
↓ 1 callers
Function
KthSmallest2
(arr []int, k int)
Heap/Heap.go:327
↓ 1 callers
Function
KthSmallest3
(arr []int, size int, k int)
Heap/heap2.go:351
↓ 1 callers
Function
KthSmallest3
(arr []int, k int)
Heap/Heap.go:338
↓ 1 callers
Method
LCAUtil
(curr *Node, first int, second int)
Tree/Tree.go:813
↓ 1 callers
Function
LargestBitonicSubseq
(arr []int)
AlgorithmsChapters/DP/LargestBitonicSubseq.go:12
↓ 1 callers
Function
LargestIncreasingSubseq
(arr []int)
AlgorithmsChapters/DP/LargestIncreasingSubseq.go:5
↓ 1 callers
Function
LargestPalindromicSubsequence
(str string)
AlgorithmsChapters/DP/LargestPalindromicSubsequence.go:12
↓ 1 callers
Function
LargestPalindromicSubstr
(str string)
AlgorithmsChapters/DP/LargestPalindromicSubstr.go:5
↓ 1 callers
Method
LcaBSTUtil
(curr *Node, first int, second int)
Tree/Tree.go:840
↓ 1 callers
Function
LeftShiftEx
(a int)
Searching/BitManipulation.go:46
↓ 1 callers
Method
Len
()
Stack/StackLinkedList.go:33
↓ 1 callers
Method
Len
()
Queue/QueueLinkedLIst.go:33
↓ 1 callers
Method
Len
()
Queue/Queue.go:39
↓ 1 callers
Function
LongestCommonSubseq
(X string, Y string)
AlgorithmsChapters/DP/LongestCommonSubseq.go:5
↓ 1 callers
Method
LoopPointDetect
()
LinkedLIst/LinkedLIst.go:413
↓ 1 callers
Method
LoopTypeDetect
()
LinkedLIst/LinkedLIst.go:371
↓ 1 callers
Function
Main10A
()
Searching/Searching.go:824
↓ 1 callers
Method
MakeLoop
()
LinkedLIst/LinkedLIst.go:330
↓ 1 callers
Function
MakePairs
(nuts []int, bolts []int)
AlgorithmsChapters/DAC/NutsAndBolts.go:7
↓ 1 callers
Function
MatchPattern
* true true true false */
String/StringEx.go:41
↓ 1 callers
Function
MatrixChainMulBU
(p []int, n int)
AlgorithmsChapters/DP/MatrixCM.go:63
↓ 1 callers
Function
MatrixChainMulBU2
(p []int, n int)
AlgorithmsChapters/DP/MatrixCM.go:93
↓ 1 callers
Function
MatrixChainMulBruteForce
(p []int, n int)
AlgorithmsChapters/DP/MatrixCM.go:9
↓ 1 callers
Function
MatrixChainMulTD
(p []int, n int)
AlgorithmsChapters/DP/MatrixCM.go:35
↓ 1 callers
Function
MaxActivities
(s, f []int, n int)
AlgorithmsChapters/Greedy/ActivitySelection.go:19
↓ 1 callers
Function
MaxConSub
* (0 to 1) (3 to 3) (4 to 6) (7 to 7) (8 to 9) */
Searching/Searching.go:2625
↓ 1 callers
Function
MaxConSubArr
* 15 */
Searching/Searching.go:2649
↓ 1 callers
Function
MaxConSubArr2
(A []int, sizeA int, B []int, sizeB int)
Searching/Searching.go:2675
↓ 1 callers
Method
MaxLengthPathBT
()
Tree/Tree.go:532
↓ 1 callers
Function
MaxMinArr
(arr []int, size int)
IntroductoryChapters/Intro.go:330
↓ 1 callers
Function
MaxMinArr2
(arr []int, size int)
IntroductoryChapters/Intro.go:354
↓ 1 callers
Function
MaxProfit
* 4 4 */
Searching/Searching.go:1739
↓ 1 callers
Function
MaxProfit2
(stocks []int)
Searching/Searching.go:1758
↓ 1 callers
Function
MaxRobbery
(house []int)
AlgorithmsChapters/DP/HouseRobber.go:8
↓ 1 callers
Function
MaxRobbery2
(house []int)
AlgorithmsChapters/DP/HouseRobber.go:22
↓ 1 callers
Function
MaxSubArraySum
(data []int)
IntroductoryChapters/Intro.go:114
↓ 1 callers
Function
MaxValueJobs
MaxValueJobs calculates the maximum value of jobs that can be performed. It uses a recursive approach.
AlgorithmsChapters/DP/JobScheduling.go:24
↓ 1 callers
Function
MaxValueJobsBU
MaxValueJobsBU calculates the maximum value of jobs that can be performed. It uses bottom-up dynamic programming to avoid recursion.
AlgorithmsChapters/DP/JobScheduling.go:107
↓ 1 callers
Function
MaxValueJobsTD
MaxValueJobsTD calculates the maximum value of jobs that can be performed. It uses top-down memoization (dynamic programming) to avoid redundant calcu
AlgorithmsChapters/DP/JobScheduling.go:61
↓ 1 callers
Function
MergeSort
(arr []int)
Sorting/MergeSort.go:5
↓ 1 callers
Function
MinCoins
Greedy
AlgorithmsChapters/DP/CoinChange.go:11
↓ 1 callers
Function
MinCoins2
Brute Force
AlgorithmsChapters/DP/CoinChange.go:32
↓ 1 callers
Function
MinCoinsBU
(coins []int, n int, val int)
AlgorithmsChapters/DP/CoinChange.go:52
↓ 1 callers
Function
MinCoinsBU2
(coins []int, n int, val int)
AlgorithmsChapters/DP/CoinChange.go:73
↓ 1 callers
Function
MinCoinsTD
(coins []int, n int, val int)
AlgorithmsChapters/DP/CoinChange.go:111
↓ 1 callers
Function
MinCoinsTDUtil
(minCoins []int, coins []int, val int)
AlgorithmsChapters/DP/CoinChange.go:119
↓ 1 callers
Function
MinCost
(cost [][]int, m int, n int)
AlgorithmsChapters/DP/GridMinCost.go:5
↓ 1 callers
Function
MinCostBSTBU
(arr []int)
AlgorithmsChapters/DP/MinCostBinaryTree.go:69
↓ 1 callers
Function
MinCostBSTTD
(arr []int)
AlgorithmsChapters/DP/MinCostBinaryTree.go:22
↓ 1 callers
Function
MinCostBU
(cost [][]int, m int, n int)
AlgorithmsChapters/DP/GridMinCost.go:15
↓ 1 callers
Function
MinCostTravel
days are must travel days, costs are cost of tickets.
AlgorithmsChapters/DP/Vacation.go:20
↓ 1 callers
Function
MinDiffPair
(arr1 []int, arr2 []int)
Searching/Searching.go:919
↓ 1 callers
Function
MinDiffPair2
(arr1 []int, arr2 []int)
Searching/Searching.go:939
↓ 1 callers
Function
MinStairCost
(cost []int, n int)
AlgorithmsChapters/DP/MinStairCost.go:5
↓ 1 callers
Function
MissingValues
* 7 true 7 true 7 true 7 true 7 true 7 true 7 true 7 true */
Searching/Searching.go:431
↓ 1 callers
Function
MissingValues2
(arr []int)
Searching/Searching.go:459
↓ 1 callers
Function
MissingValues3
(arr []int)
Searching/Searching.go:476
↓ 1 callers
Function
NQueens
(n int)
AlgorithmsChapters/BT/NQueen.go:8
↓ 1 callers
Function
NewActivity
(a, b int)
AlgorithmsChapters/Greedy/ActivitySelection.go:12
↓ 1 callers
Function
NewBTree
Constructor
Tree/BTree.go:14
↓ 1 callers
Function
NewBinaryIndexTree
(arr []int)
Tree/BinaryIndexTree.go:10
↓ 1 callers
Function
NewHashTable
(tableSize int)
HashTable/HashTableLP.go:18
↓ 1 callers
Function
NewHashTableSC
()
HashTable/HashTableSC.go:16
↓ 1 callers
Function
NewHuffmanTree
(arr []rune, freq []int)
AlgorithmsChapters/Greedy/HuffmanTree.go:26
↓ 1 callers
Function
NewItem
(weight, cost int)
AlgorithmsChapters/Greedy/Knapsack.go:14
↓ 1 callers
Function
NewItems
(a, b int)
AlgorithmsChapters/Greedy/FractionalKnapsack.go:13
↓ 1 callers
Function
NewJob
(id rune, deadline int, profit int)
AlgorithmsChapters/Greedy/JobSequencing.go:14
↓ 1 callers
Function
NewJobSequencing
(ids []rune, deadlines []int, profits []int, n int)
AlgorithmsChapters/Greedy/JobSequencing.go:28
↓ 1 callers
Function
NewMedianHeap
()
Heap/heap2.go:256
↓ 1 callers
Function
NewMedianHeap
()
Heap/Heap.go:247
↓ 1 callers
Function
NewNode
(data int, left, right *Node)
Tree/AVLTree.go:17
↓ 1 callers
Function
NewNode
(d int, l, r *Node)
Tree/SPLAYTree.go:20
← previous
next →
501–600 of 1,518, ranked by callers