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
Function
fibonacciTDUtil
(n int, dp []int)
AlgorithmsChapters/DP/Fibo.go:45
↓ 1 callers
Function
findBalancedPoint
* isAP : true isAP : true isAP : true */
Searching/Searching.go:2265
↓ 1 callers
Function
findCeil
(arr []int, size int, value int)
Searching/Searching.go:2316
↓ 1 callers
Function
findCelebrity
(relation [][]int, count int)
Stack/StackExercise.go:977
↓ 1 callers
Function
findCelebrity2
(relation [][]int, count int)
Stack/StackExercise.go:994
↓ 1 callers
Function
findCelebrity3
(relation [][]int, count int)
Stack/StackExercise.go:1019
↓ 1 callers
Function
findDuplicateParenthesis
* Output: reverse Parenthesis is : 3 */
Stack/StackExercise.go:454
↓ 1 callers
Function
findFloor
* BalancedPoint : 3 */
Searching/Searching.go:2294
↓ 1 callers
Method
findKey
Returns the index of first key which is greater than or equal to key.
Tree/BTree.go:230
↓ 1 callers
Function
findKeyCount
(data []int, key int)
Searching/Searching.go:1678
↓ 1 callers
Function
findKeyCount2
(data []int, key int)
Searching/Searching.go:1689
↓ 1 callers
Function
findLargestIsland
(arr [][]int, maxCol int, maxRow int)
Queue/QueueEX.go:630
↓ 1 callers
Function
findLargestIslandUtil
* 0 1 0 0 1 0 0 1 0 1 1 1 2 1 0 2 2 2 1 0 3 3 2 1 0 */
Queue/QueueEX.go:612
↓ 1 callers
Function
findLastIndex
(data []int, start int, end int, key int)
Searching/Searching.go:1712
↓ 1 callers
Method
findMaxBT
(curr *Node)
Tree/Tree.go:932
↓ 1 callers
Function
findMedian
* Purchase day is 2 at price 6 Sell day is 10 at price 150 Max Profit: 144 Purchase day is 2 at price 6 Sell day is 10 at price 150 Max Profit: 144
Searching/Searching.go:1798
↓ 1 callers
Method
findMin
(curr *Node)
Tree/Tree.go:365
↓ 1 callers
Function
findTriplet
* Zero Sum Triplets are : (1 2 -3) (1 -4 3) (-4 7 -3) Zero Sum Triplets are : (-4 -3 7)(-4 1 3)(-3 1 2) */
Searching/Searching.go:1128
↓ 1 callers
Function
findTriplet2
(arr []int, value int)
Searching/Searching.go:1143
↓ 1 callers
Method
findUtil
(curr *TreeNode, value string)
String/StringTree.go:64
↓ 1 callers
Method
findUtil
(currentNode *TSTNode, searchWord string, currentIndex int)
String/TST.go:45
↓ 1 callers
Method
findUtil
(curr *TrieNode, str string, index int)
String/Trie.go:71
↓ 1 callers
Function
firstNegSlidingWindows
* Max of min is: 59 */
Queue/QueueEX.go:250
↓ 1 callers
Method
fixBTree
Make sure that the node have at least min number of keys
Tree/BTree.go:300
↓ 1 callers
Method
fixDoubleBlack
(x *Node)
Tree/RBTree.go:262
↓ 1 callers
Method
fixRedRed
(x *Node)
Tree/RBTree.go:172
↓ 1 callers
Method
frequencyUtil
(curr *TreeNode, value string)
String/StringTree.go:83
↓ 1 callers
Function
fun1
(n int)
IntroductoryChapters/Analysis.go:8
↓ 1 callers
Function
fun10
(n int)
IntroductoryChapters/Analysis.go:100
↓ 1 callers
Function
fun11
(n int)
IntroductoryChapters/Analysis.go:110
↓ 1 callers
Function
fun12
(n int)
IntroductoryChapters/Analysis.go:125
↓ 1 callers
Function
fun13
(n int)
IntroductoryChapters/Analysis.go:136
↓ 1 callers
Function
fun2
(n int)
IntroductoryChapters/Analysis.go:16
↓ 1 callers
Function
fun3
(n int)
IntroductoryChapters/Analysis.go:26
↓ 1 callers
Function
fun4
(n int)
IntroductoryChapters/Analysis.go:38
↓ 1 callers
Function
fun5
(n int)
IntroductoryChapters/Analysis.go:50
↓ 1 callers
Function
fun6
(n int)
IntroductoryChapters/Analysis.go:60
↓ 1 callers
Function
fun7
(n int)
IntroductoryChapters/Analysis.go:70
↓ 1 callers
Function
fun8
(n int)
IntroductoryChapters/Analysis.go:80
↓ 1 callers
Function
fun9
(n int)
IntroductoryChapters/Analysis.go:90
↓ 1 callers
Function
function1
()
Stack/StackExercise.go:14
↓ 1 callers
Function
function1
()
IntroductoryChapters/Intro.go:30
↓ 1 callers
Function
function2
()
Stack/StackExercise.go:10
↓ 1 callers
Function
function2
()
IntroductoryChapters/Intro.go:26
↓ 1 callers
Function
getHeight
(arr []int, height []int, index int)
Graph/Graph.go:933
↓ 1 callers
Method
getIntersity
()
Basics/Bulb.go:53
↓ 1 callers
Function
getMajority
* 5 5 5 */
Searching/Searching.go:1441
↓ 1 callers
Function
getMajority2
(data []int)
Searching/Searching.go:1464
↓ 1 callers
Function
getMajority3
(data []int)
Searching/Searching.go:1482
↓ 1 callers
Function
getMax
(arr []int, n int)
Sorting/RadixSort.go:15
↓ 1 callers
Function
getMax
* 3 3 */
Searching/Searching.go:1371
↓ 1 callers
Function
getMax2
(data []int)
Searching/Searching.go:1391
↓ 1 callers
Function
getMax3
(data []int, dataRange int)
Searching/Searching.go:1413
↓ 1 callers
Function
getMaxCost01TDUtil
(dp [][]int, items []*Item, n, capacity int)
AlgorithmsChapters/DP/Knapsack.go:75
↓ 1 callers
Function
getMaxCost01Util
(items []*Item, n, capacity int)
AlgorithmsChapters/DP/Knapsack.go:43
↓ 1 callers
Method
getMaxUtil
(segStart int, segEnd int, queryStart int, queryEnd int, index int)
Tree/rangeMaxST.go:56
↓ 1 callers
Method
getMedian
()
Heap/heap2.go:292
↓ 1 callers
Method
getMedian
()
Heap/Heap.go:283
↓ 1 callers
Method
getMinUtil
(segStart int, segEnd int, queryStart int, queryEnd int, index int)
Tree/rmqST.go:83
↓ 1 callers
Method
getPred
To get predecessor of keys[index]
Tree/BTree.go:278
↓ 1 callers
Method
getSucc
To get successor of keys[index]
Tree/BTree.go:289
↓ 1 callers
Method
getSumUtil
(segStart int, segEnd int, queryStart int, queryEnd int, index int)
Tree/SegmentTree.go:49
↓ 1 callers
Function
graphColouringUtil
(graph [][]bool, V int, m int, colour []int, i int)
AlgorithmsChapters/BT/GraphColouring.go:15
↓ 1 callers
Function
graphColouringUtil2
(graph [][]bool, V int, m int, colour []int, i int)
AlgorithmsChapters/BT/GraphColouring.go:52
↓ 1 callers
Function
greater
(value1 int, value2 int)
Sorting/ShellSort.go:5
↓ 1 callers
Method
hamiltonianCycle
* Hamiltonian Path found :: 0 1 2 4 3 hamiltonianPath : true Hamiltonian Path found :: 0 3 1 2 4 hamiltonianPath : true */
Graph/GraphAM.go:316
↓ 1 callers
Method
hamiltonianCycleUtil
(path []int, pSize int, added []int)
Graph/GraphAM.go:332
↓ 1 callers
Method
hamiltonianPathUtil
(path []int, pSize int, added []int)
Graph/GraphAM.go:244
↓ 1 callers
Function
heightTreeParentArr
(arr []int)
Graph/Graph.go:896
↓ 1 callers
Function
heightTreeParentArr2
(arr []int)
Graph/Graph.go:941
↓ 1 callers
Method
increment1
()
Basics/AccesserModifier.go:7
↓ 1 callers
Method
increment2
()
Basics/AccesserModifier.go:11
↓ 1 callers
Function
indexArray
(arr []int, size int)
IntroductoryChapters/Intro.go:169
↓ 1 callers
Function
indexArray2
(arr []int, size int)
IntroductoryChapters/Intro.go:189
↓ 1 callers
Method
insert
(value int)
Heap/heap2.go:266
↓ 1 callers
Method
insert
(value int)
Heap/Heap.go:257
↓ 1 callers
Method
insertUtil
(node *Node, data int)
Tree/RBTree.go:159
↓ 1 callers
Method
insertUtil
(node *Node, data int)
Tree/AVLTree.go:44
↓ 1 callers
Method
insertUtil
Insert a new key in this node Arguments are parent, child, index of child and key.
Tree/BTree.go:121
↓ 1 callers
Method
insertUtil
(value string, curr *TreeNode)
String/StringTree.go:36
↓ 1 callers
Method
insertUtil
(currentNode *TSTNode, word string, currentIndex int)
String/TST.go:19
↓ 1 callers
Method
insertUtil
(curr *TrieNode, str string, index int)
String/Trie.go:28
↓ 1 callers
Function
isAP
(arr []int, size int)
Searching/Searching.go:2172
↓ 1 callers
Function
isAP2
(arr []int, size int)
Searching/Searching.go:2187
↓ 1 callers
Function
isAP3
(arr []int, size int)
Searching/Searching.go:2220
↓ 1 callers
Method
isBST
(curr *Node, min int, max int)
Tree/Tree.go:658
↓ 1 callers
Method
isBST2
(root *Node, count *int)
Tree/Tree.go:673
↓ 1 callers
Method
isBST3
(root *Node)
Tree/Tree.go:641
↓ 1 callers
Method
isCompleteTree
(root *Node)
Tree/Tree.go:699
↓ 1 callers
Method
isCompleteTreeUtil
(curr *Node, index int, count int)
Tree/Tree.go:736
↓ 1 callers
Method
isCyclePresentDFS
* Cycle Present: false Cycle Present: false Cycle Present: false IsConnectedUndirected: true Cycle Present: true Cycle Present: true Cycle Present: tr
Graph/Graph.go:657
↓ 1 callers
Method
isCyclePresentDFSColor
(index int, visited []int)
Graph/Graph.go:692
↓ 1 callers
Method
isCyclePresentUndirectedDFS
* Node - Level 1 - 0 2 - 1 0 - 1 5 - 2 4 - 2 6 - 3 3 - 3 BfsDistance : 3 */
Graph/Graph.go:475
↓ 1 callers
Method
isEqual
(node1 *Node, node2 *Node)
Tree/Tree.go:438
↓ 1 callers
Function
isGraphColouredProperly
Check if the whole graph is coloured properly.
AlgorithmsChapters/BT/GraphColouring.go:33
↓ 1 callers
Function
isGraphColouredProperly2
Check if the whole graph is coloured properly.
AlgorithmsChapters/BT/GraphColouring.go:68
↓ 1 callers
Method
isHeapUtil
(curr *Node, parentValue int)
Tree/Tree.go:753
↓ 1 callers
Method
isHeapUtil2
(curr *Node, index int, count int, parentValue int)
Tree/Tree.go:769
↓ 1 callers
Function
isSafe
(board []int, col int)
AlgorithmsChapters/BT/NQueen.go:27
↓ 1 callers
Function
isValid
(arr []int, n int)
AlgorithmsChapters/BT/Permutations.go:34
← previous
next →
801–900 of 1,518, ranked by callers