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
↓ 4 callers
Function
CreateCompleteBinaryTree
(arr []int)
Tree/Tree.go:17
↓ 4 callers
Method
GetSum
(start int, end int)
Tree/SegmentTree.go:40
↓ 4 callers
Method
IsEmpty
()
Graph/hp.go:81
↓ 4 callers
Method
IsEmpty
IsEmpty checks if the stack is empty.
Queue/QueueUsingStack.go:94
↓ 4 callers
Method
IsEmpty
IsEmpty checks if the queue is empty.
Queue/QueueLL.go:21
↓ 4 callers
Function
MatchExp
(exp string, str string)
String/StringEx.go:7
↓ 4 callers
Function
NewItem
(weight, cost int)
AlgorithmsChapters/DP/Knapsack.go:13
↓ 4 callers
Method
PrefixSum
Prefix sum in the range 0 to index.
Tree/BinaryIndexTree.go:55
↓ 4 callers
Method
Print
()
HashTable/HashTableLP.go:106
↓ 4 callers
Method
PrintTree
()
Tree/AVLTree.go:181
↓ 4 callers
Method
Push
(x interface{})
Collections/Heap.go:47
↓ 4 callers
Method
ResolverFun
(index int)
HashTable/HashTableLP.go:32
↓ 4 callers
Method
Reverse
()
LinkedLIst/LinkedLIst.go:160
↓ 4 callers
Function
find
root element of set
Graph/Graph.go:566
↓ 4 callers
Method
leftRotate
Function to left rotate subtree rooted with x
Tree/AVLTree.go:94
↓ 4 callers
Function
max
(a, b int)
AlgorithmsChapters/DP/Knapsack.go:132
↓ 4 callers
Function
min
(a, b int)
AlgorithmsChapters/DP/CoinChange.go:141
↓ 4 callers
Function
min
(a, b int)
AlgorithmsChapters/DP/OptimalBST.go:69
↓ 4 callers
Function
newNode
(c int, p int)
LinkedLIst/Polynomial.go:19
↓ 4 callers
Method
removeUtil
(node *Node, key int)
Tree/BTree.go:204
↓ 4 callers
Method
rightRotate
Function to right rotate subtree rooted with x
Tree/AVLTree.go:77
↓ 4 callers
Method
splay
(node *Node)
Tree/SPLAYTree.go:114
↓ 4 callers
Method
transposeGraph
* isCyclePresent : false isCyclePresent : false isCyclePresent : true isCyclePresent : true */
Graph/Graph.go:748
↓ 3 callers
Method
Add
(key int, args ...int)
HashTable/HashTableLP.go:36
↓ 3 callers
Method
Add
(key int, args ...int)
HashTable/HashTableSC.go:28
↓ 3 callers
Method
Add
Add adds an element to the queue.
Queue/StackUsingQueue.go:88
↓ 3 callers
Method
Add
Add adds an element to the queue.
Queue/QueueUsingStack.go:11
↓ 3 callers
Method
Add
(value interface{})
Queue/Queue.go:9
↓ 3 callers
Method
Add
Add adds an element to the rear of the queue.
Queue/QueueLL.go:35
↓ 3 callers
Method
AddTail
(value int)
LinkedLIst/LinkedLIst.go:48
↓ 3 callers
Method
AddTail
(value int)
LinkedLIst/DoublyCircularLIst.go:88
↓ 3 callers
Method
Back
()
Queue/QueueEX.go:717
↓ 3 callers
Function
CreateBinarySearchTree
(arr []int)
Tree/Tree.go:976
↓ 3 callers
Method
Delete
(data int)
Tree/AVLTree.go:122
↓ 3 callers
Method
Find
(value int)
Tree/Tree.go:286
↓ 3 callers
Method
Find
(value string)
String/StringTree.go:60
↓ 3 callers
Method
Find
(searchWord string)
String/TST.go:65
↓ 3 callers
Method
Find
(s string)
String/Trie.go:63
↓ 3 callers
Function
FindRotationMaxUtil
* 8 8 */
Searching/Searching.go:1872
↓ 3 callers
Method
Get
(key interface{})
HashTable/HashTableExercise.go:249
↓ 3 callers
Method
Get
(key interface{})
Collections/Counter.go:16
↓ 3 callers
Method
Has
(key interface{})
Collections/Counter.go:12
↓ 3 callers
Method
Insert
(value string)
String/StringTree.go:32
↓ 3 callers
Method
Insert
(word string)
String/TST.go:15
↓ 3 callers
Method
Insert
(s string)
String/Trie.go:19
↓ 3 callers
Method
Insert
(key interface{})
Collections/Counter.go:9
↓ 3 callers
Method
IsEmpty
()
LinkedLIst/DoublyLinkedList.go:21
↓ 3 callers
Method
IsEmpty
()
LinkedLIst/DoublyCircularLIst.go:21
↓ 3 callers
Method
IsEmpty
()
Stack/StackLL.go:19
↓ 3 callers
Method
IsEmpty
()
Queue/QueueEX.go:722
↓ 3 callers
Method
LcaBST
(first int, second int)
Tree/Tree.go:836
↓ 3 callers
Function
NewHeap
(comp func(x interface{}, y interface{}) bool)
Collections/Heap.go:13
↓ 3 callers
Function
NewJob
(i1, i2, i3 int)
AlgorithmsChapters/DP/JobScheduling.go:14
↓ 3 callers
Function
NewNode
Constructor
Tree/BTree.go:30
↓ 3 callers
Function
NewPoint
(a, b int)
AlgorithmsChapters/DAC/ClosestPair.go:14
↓ 3 callers
Method
NumNodes
()
Tree/Tree.go:504
↓ 3 callers
Method
Pop
()
Stack/StackLL.go:36
↓ 3 callers
Method
Pop
Pop removes and returns the element at the top of the stack.
Queue/QueueUsingStack.go:75
↓ 3 callers
Method
Print
()
Stack/StackLL.go:48
↓ 3 callers
Function
PrintSlice
(data []int)
Basics/untitled.go:44
↓ 3 callers
Method
PrintTree
()
Tree/RBTree.go:132
↓ 3 callers
Method
Push
(data interface{})
Stack/Stack.go:9
↓ 3 callers
Method
Remove
()
AlgorithmsChapters/Greedy/HuffmanTree.go:136
↓ 3 callers
Method
Remove
(key interface{})
HashTable/HashTableExercise.go:262
↓ 3 callers
Method
Remove
(key int)
Tree/BTree.go:190
↓ 3 callers
Method
Remove
Remove removes and returns the element at the front of the queue.
Queue/QueueUsingStack.go:16
↓ 3 callers
Method
RemoveBack
()
Queue/QueueEX.go:706
↓ 3 callers
Function
ReverseArray
(data []int, start int, end int)
IntroductoryChapters/Intro.go:87
↓ 3 callers
Method
Size
()
LinkedLIst/LinkedLIst.go:27
↓ 3 callers
Function
Strcmp
* 25 */
String/StringEx.go:200
↓ 3 callers
Function
distance
(a, b *Point)
AlgorithmsChapters/DAC/ClosestPair.go:18
↓ 3 callers
Method
hamiltonianPath
* Shortest Paths: (1->0 @ 4) (1->2 @ 8) (1->2->3 @ 15) (1->2->5->4 @ 22) (1->2->5 @ 12) (1->7->6 @ 12) (1->7 @ 11) (1->2->8 @ 10) Edges are : ( 0->1
Graph/GraphAM.go:228
↓ 3 callers
Method
isOnFun
()
Basics/Bulb.go:10
↓ 3 callers
Method
joinParentChild
(u *Node, v *Node)
Tree/RBTree.go:340
↓ 3 callers
Function
max
(a, b int)
AlgorithmsChapters/DP/MinCostBinaryTree.go:15
↓ 3 callers
Function
max
(i, j int)
AlgorithmsChapters/DP/JobScheduling.go:135
↓ 3 callers
Function
max
(a int, b int)
Searching/Searching.go:2856
↓ 3 callers
Method
max
(first int, second int)
Tree/rangeMaxST.go:40
↓ 3 callers
Method
merge
Merge node's children at index and index+1.
Tree/BTree.go:375
↓ 3 callers
Function
min
(a, b int)
AlgorithmsChapters/DP/MatrixCM.go:86
↓ 3 callers
Function
min
(a, b int)
AlgorithmsChapters/DP/MinStairCost.go:25
↓ 3 callers
Function
min
(a int, b int)
Searching/Searching.go:2849
↓ 3 callers
Method
min
(first int, second int)
Tree/rmqST.go:95
↓ 3 callers
Function
newPolynomial
()
LinkedLIst/Polynomial.go:27
↓ 3 callers
Method
percolateDown
percolateDown moves the element at the given index down the heap to its correct position
AlgorithmsChapters/Greedy/JoinRopes.go:114
↓ 3 callers
Method
percolateDown
(parent int)
AlgorithmsChapters/Greedy/ChotaBhim.go:100
↓ 3 callers
Method
percolateDown
(parent int)
AlgorithmsChapters/Greedy/OptimalMergePattern.go:63
↓ 3 callers
Method
percolateDown
(parent int)
AlgorithmsChapters/Greedy/HuffmanTree.go:106
↓ 3 callers
Method
percolateDown
(parent int)
Heap/heap2.go:35
↓ 3 callers
Method
percolateDown
(parent int)
Heap/Heap.go:41
↓ 3 callers
Method
print
()
LinkedLIst/Polynomial.go:79
↓ 3 callers
Method
printPath
(previous []int, dist []int, count int, source int)
Graph/Graph.go:1163
↓ 3 callers
Function
reverseStringRange
(a []rune, lower int, upper int)
String/StringEx.go:251
↓ 3 callers
Function
sumAll
(freq []int, i int, j int)
AlgorithmsChapters/DP/OptimalBST.go:29
↓ 3 callers
Function
swap
(arr []int, first int, second int)
AlgorithmsChapters/DAC/NutsAndBolts.go:40
↓ 3 callers
Method
treeDepth
(root *Node)
Tree/Tree.go:421
↓ 2 callers
Method
Add
Add adds a new element to the heap
AlgorithmsChapters/Greedy/JoinRopes.go:144
↓ 2 callers
Method
Add
(value interface{})
AlgorithmsChapters/Greedy/ChotaBhim.go:124
↓ 2 callers
Method
Add
(value interface{})
AlgorithmsChapters/Greedy/OptimalMergePattern.go:87
↓ 2 callers
Method
Add
(value interface{})
AlgorithmsChapters/Greedy/HuffmanTree.go:130
← previous
next →
101–200 of 1,518, ranked by callers