MCPcopy Create free account

hub / github.com/Hemant-Jain-Author/Data-Structures-Algorithms-In-Go / functions

Functions1,518 in github.com/Hemant-Jain-Author/Data-Structures-Algorithms-In-Go

↓ 1 callersFunctionprintSelectedItems
(dp [][]int, items []*Item, n, capacity int)
AlgorithmsChapters/DP/Knapsack.go:139
↓ 1 callersFunctionprintSolution
(dist [][]int, V int)
AlgorithmsChapters/DP/FloydWarshall.go:34
↓ 1 callersFunctionprintSolution
(cost [][]int, path [][]int, V int)
Graph/Graph.go:1493
↓ 1 callersFunctionprintSubset
(flags []bool, arr []int, size int)
AlgorithmsChapters/BT/SubsetSum.go:24
↓ 1 callersMethodprintTree
(node *Node, indent string, isLeft bool)
Tree/SPLAYTree.go:47
↓ 1 callersMethodprintTree
(node *Node, indent string)
Tree/BTree.go:44
↓ 1 callersMethodprintTreeUtil
(node *Node, indent string, isLeft bool)
Tree/RBTree.go:137
↓ 1 callersMethodprintTreeUtil
(node *Node, indent string, isLeft bool)
Tree/AVLTree.go:186
↓ 1 callersMethodprintUtil
(root *Node, s string)
AlgorithmsChapters/Greedy/HuffmanTree.go:49
↓ 1 callersMethodprintUtil
(curr *TreeNode)
String/StringTree.go:23
↓ 1 callersFunctionquickSelectUtil
(arr []int, lower int, upper int, key int)
Sorting/QuickSelect.go:11
↓ 1 callersFunctionquickSortUtil
(arr []int, lower int, upper int)
Sorting/QuickSort.go:10
↓ 1 callersMethodremoveFromLeaf
Remove the index key from leaf node.
Tree/BTree.go:239
↓ 1 callersMethodremoveFromNonLeaf
Remove the index key from a non-leaf node.
Tree/BTree.go:250
↓ 1 callersMethodremoveUtil
(curr *TrieNode, str string, index int)
String/Trie.go:50
↓ 1 callersFunctionreplaceParanthesis
(str string)
Stack/StackExercise.go:607
↓ 1 callersFunctionreverseKElementInQueue
* Output: [1 2 3 4] [4 3 2 1] */
Stack/StackExercise.go:235
↓ 1 callersFunctionreverseKElementInStack
* Output: Stack before reversal : [1 2 3] Stack after reversal : [3 2 1] */
Stack/StackExercise.go:176
↓ 1 callersFunctionreverseParenthesis
* Output: longestContBalParen 12 */
Stack/StackExercise.go:406
↓ 1 callersFunctionreverseQueue
* Output: [1 2 3 4] [1 2 4 3] */
Stack/StackExercise.go:206
↓ 1 callersMethodreverseRecurseUtil
(currentNode *ListNode, nextNode *ListNode)
LinkedLIst/LinkedLIst.go:178
↓ 1 callersFunctionreverseStringUtil
(a []rune)
String/StringEx.go:241
↓ 1 callersMethodrightLeftRotate
(node *Node)
Tree/RBTree.go:108
↓ 1 callersMethodrootVertex
* PathExist: true Path Count: 3 4 3 2 0 4 1 0 4 3 1 0 */
Graph/Graph.go:320
↓ 1 callersMethodsearchBT
(root *Node, value int)
Tree/Tree.go:954
↓ 1 callersMethodsearchUtil
(node *Node, key int)
Tree/BTree.go:62
↓ 1 callersFunctionseperateEvenAndOdd
* 6 */
Searching/Searching.go:1992
↓ 1 callersMethodsetUtil
Always diff will be returned.
Tree/SegmentTree.go:73
↓ 1 callersMethodsibling
(node *Node)
Tree/RBTree.go:329
↓ 1 callersFunctionsortK
* 6 7 7 8 8 7 7 6 6 7 7 8 */
Heap/heap2.go:543
↓ 1 callersFunctionsortK
* 6 7 7 8 8 7 7 6 6 7 7 8 */
Heap/Heap.go:528
↓ 1 callersFunctionsortStack2
(stk *Stack)
Stack/StackExercise.go:70
↓ 1 callersFunctionstripMin
(q []*Point, n int, d float64)
AlgorithmsChapters/DAC/ClosestPair.go:81
↓ 1 callersFunctionsubArraySums
* 2 2 */
Searching/Searching.go:2596
↓ 1 callersFunctionsubsetSumUtil
(arr []int, n int, flags []bool, sum int, curr int, target int)
AlgorithmsChapters/BT/SubsetSum.go:10
↓ 1 callersMethodsumAllBT
(curr *Node)
Tree/Tree.go:577
↓ 1 callersFunctionsumInit
(freq []int, n int)
AlgorithmsChapters/DP/OptimalBST.go:144
↓ 1 callersFunctionsumRange
(sum []int, i int, j int)
AlgorithmsChapters/DP/OptimalBST.go:153
↓ 1 callersFunctiontohUtil
(num int, from string, to string, temp string)
AlgorithmsChapters/BT/TOH.go:10
↓ 1 callersFunctiontowerOfHanoi
(num int, src byte, dst byte, temp byte)
IntroductoryChapters/Intro.go:538
↓ 1 callersFunctiontransformArrayAB
* 6 6 */
Searching/Searching.go:2042
↓ 1 callersMethodtransitiveClosure
()
Graph/Graph.go:363
↓ 1 callersMethodtransitiveClosureUtil
* Root vertex is: 5 */
Graph/Graph.go:352
↓ 1 callersMethodtreeToListRec
(curr *Node)
Tree/Tree.go:588
↓ 1 callersMethodtrimOutsidedataRange
(curr *Node, min int, max int)
Tree/Tree.go:862
↓ 1 callersFunctiontspUtil
(graph [][]int, n int, path []int, pSize int, pCost int, visited []bool, ans int, ansPath []int)
AlgorithmsChapters/BT/TSP.go:25
↓ 1 callersMethodturnOn
()
Basics/Bulb.go:32
↓ 1 callersMethoduncle
(node *Node)
Tree/RBTree.go:42
↓ 1 callersMethodunion
(parent []int, x int, y int)
Graph/Graph.go:515
↓ 1 callersMethodupdateUtil
Always min inside the valid range will be returned.
Tree/rmqST.go:51
↓ 1 callersMethodupdateUtil
Always min inside valid range will be returned.
Tree/rangeMaxST.go:79
↓ 1 callersFunctionwildCharMatchExpUtil
(exp string, str string, m int, n int)
AlgorithmsChapters/DP/WildCharMatch.go:14
↓ 1 callersFunctionwildCharMatchExpUtilDP
(exp string, str string, m int, n int)
AlgorithmsChapters/DP/WildCharMatch.go:34
MethodAdd
(value interface{})
Graph/Graph.go:1702
MethodAdd
(key interface{})
HashTable/HashTableExercise.go:229
MethodAdd
(value interface{})
Tree/Tree.go:1288
MethodAddDirectedEdgeUnweighted
(source, destination int)
Graph/Graph.go:34
MethodAncestor
(first int, second int)
Tree/Tree.go:450
MethodArea
()
Basics/Shape.go:30
FunctionArrayExample
()
Basics/untitled.go:28
MethodBack
()
Graph/Graph.go:1724
MethodBack
Back returns the element at the back of the queue without removing it.
Queue/StackUsingQueue.go:114
MethodBack
()
Queue/Queue.go:30
MethodDelete
Delete deletes the given value from the heap
AlgorithmsChapters/Greedy/JoinRopes.go:166
MethodDelete
(value interface{})
AlgorithmsChapters/Greedy/ChotaBhim.go:143
MethodDelete
(value interface{})
AlgorithmsChapters/Greedy/OptimalMergePattern.go:106
MethodDelete
(value interface{})
AlgorithmsChapters/Greedy/HuffmanTree.go:149
MethodDelete
(value interface{})
Heap/heap2.go:78
MethodDelete
(value int)
Heap/Heap.go:84
MethodDelete
(value interface{})
Graph/GraphAM.go:470
MethodDelete
( value interface{})
Graph/hp.go:68
MethodDelete
(value interface{})
Graph/Graph.go:1616
MethodEmpty
()
Collections/Heap.go:62
FunctionEqGreater
(value1 int, value2 int, A int)
Sorting/SortingEx.go:220
FunctionFindBitonicArrayMax2
(data []int)
Searching/Searching.go:1578
FunctionFindElementIn2DArray
* true true true */
Searching/Searching.go:2157
MethodFindMaxNode
()
Tree/Tree.go:326
MethodFindMinNode
()
Tree/Tree.go:339
MethodFree
()
Tree/Tree.go:378
MethodFreeList
()
LinkedLIst/CircularLinkedList.go:95
MethodFreeList
()
LinkedLIst/DoublyCircularLIst.go:52
MethodFront
()
Graph/Graph.go:1720
MethodFront
Front returns the element at the front of the queue without removing it.
Queue/StackUsingQueue.go:109
MethodFront
()
Queue/Queue.go:26
MethodGetName
()
Basics/untitled.go:97
MethodGetRollNo
()
Basics/untitled.go:101
MethodHas
(key interface{})
HashTable/HashTableExercise.go:233
MethodInsertAtBottom
(value int)
Stack/StackLL.go:58
MethodIsConnected2
* 4 4 */
Graph/Graph.go:965
MethodIsEmpty
()
Graph/Graph.go:1688
MethodIsEmpty
()
Graph/Graph.go:1729
MethodIsEmpty
()
Tree/Tree.go:1276
MethodIsEmpty
()
Tree/Tree.go:1315
MethodIsEmpty
()
Stack/StackExercise.go:1132
MethodIsEmpty
()
Stack/Stack.go:29
MethodIsEmpty
IsEmpty checks if the queue is empty.
Queue/StackUsingQueue.go:120
MethodIsEmpty
IsEmpty checks if the queue is empty.
Queue/QueueUsingStack.go:39
MethodIsPresent
(key int)
LinkedLIst/DoublyLinkedList.go:109
FunctionKthLargest
* Kth Smallest product :: 10 Kth Smallest product :: 10 Kth Smallest product :: 10 Kth Smallest product :: 10 */
Heap/heap2.go:487
FunctionKthLargest
* Kth Smallest product :: 10 Kth Smallest product :: 10 Kth Smallest product :: 10 Kth Smallest product :: 10 */
Heap/Heap.go:472
← previousnext →1,201–1,300 of 1,518, ranked by callers