MCPcopy Create free account

hub / github.com/Lakhankumawat/LearnCPP / functions

Functions805 in github.com/Lakhankumawat/LearnCPP

↓ 1 callersFunctioncreateStack
----------------This function creates new stack--------------------------*/
S-Stack/stackADTUsingLL.cpp:16
↓ 1 callersFunctioncreateTree
Creating tree from level order input
T-Tree/T-TreeTraversals/zigzag_levelorderTraversal.cpp:41
↓ 1 callersFunctioncreatingtree
function to create genric tree (n)
T-Tree/G-GenricTree/GenricTree.cpp:19
↓ 1 callersFunctioncreatingtree
T-Tree/G-GenricTree/MinimumDistanceBetweenNodeGT.cpp:18
↓ 1 callersFunctioncycleDetect
utility function to detect cycle
L-LinkedList/S-SinglyLinkedList/DetectCycleInLinkedList.cpp:43
↓ 1 callersFunctioncycleSort
S-SortingAlgorithms/CycleSort.cpp:4
↓ 1 callersFunctiondel
H-Heap/MinHeap.cpp:29
↓ 1 callersFunctiondel_edge
G-Graphs/I-Implementation/DelAddEdgeAdjacencyMatrix.cpp:61
↓ 1 callersMethoddeleteDuplicates
L-LinkedList/S-SinglyLinkedList/RemovingDuplicates.cpp:34
↓ 1 callersFunctiondeleteNode
L-LinkedList/S-SinglyLinkedList/LinkedListOperations.cpp:61
↓ 1 callersFunctiondeleteNode
function to delete a node with given key from subtree with given root.
T-Tree/B-BinarySearchTree/AVL.cpp:140
↓ 1 callersFunctiondeleteRoot
Function to delete the root from Heap
H-Heap/MaxHeap.cpp:33
↓ 1 callersMethoddelete_fr_front
deletes element from the front if the deque is not empty
Q-Queue/DequeImplementation.cpp:44
↓ 1 callersMethoddelete_fr_rear
deletes element from the end if the deque is not empty
Q-Queue/DequeImplementation.cpp:59
↓ 1 callersFunctiondeletion
A-Array/arrayOperations.cpp:77
↓ 1 callersMethoddfs
G-Graphs/T-TraversalInGraphs/DepthFirstSearch.cpp:36
↓ 1 callersFunctiondiameter
the function diameter basically calculate the diameter and update it if required but return the height. And as a parameter, a Node is passed.
T-Tree/G-GenricTree/DiameterofGenricTree.cpp:17
↓ 1 callersMethoddijsktraSSSp
G-GraphAlgorithms/S-SingleSourceShortestPath/DijsktraSSSp.cpp:40
↓ 1 callersFunctiondisplay
display huffman coding
G-GreedyAlgorithms/HuffmanCoding.cpp:27
↓ 1 callersFunctiondisplay
H-HashTable/HashCustomers.cpp:67
↓ 1 callersFunctiondisplay
function to display the 2-d array
B-Backtracking/TheKnight’stourproblem.cpp:7
↓ 1 callersFunctiondisplay
----------------This function prints all the element sof the Stack----------*/
S-Stack/stackADTUsingLL.cpp:85
↓ 1 callersFunctiondisplay
function to display the genric tree (n)
T-Tree/G-GenricTree/GenricTree.cpp:46
↓ 1 callersMethoddisplay
O-OOPS/I-Inheritance/Single-Inheritance.cpp:43
↓ 1 callersMethoddisplay
Miscellaneous/F-Friend/FriendClass.cpp:43
↓ 1 callersMethoddisplay_results
O-OOPS/I-Inheritance/Multilevel-Inheritance.cpp:51
↓ 1 callersFunctiondistancebetwennode
T-Tree/G-GenricTree/MinimumDistanceBetweenNodeGT.cpp:65
↓ 1 callersFunctioneditDistance
D-DynamicProgramming/EditDistance.cpp:10
↓ 1 callersFunctionefficientPeak
Function to find peak of the array
A-Array/Peak.cpp:14
↓ 1 callersMethodeggDrop
D-DynamicProgramming/EggDroppingPuzzle.cpp:31
↓ 1 callersFunctionempty
Checking if the stack is empty
S-Stack/DecimalToBinary.cpp:21
↓ 1 callersFunctionemptyStack
----------------This function checks whether the stack is empty-------------*/
S-Stack/stackADTUsingLL.cpp:75
↓ 1 callersFunctionfactorial
M-MathematicalAlgorithms/Factorial of large numbers/FactorialLargeNumbers.cpp:23
↓ 1 callersFunctionfibonacci
Function to calculate nth fibonacci number
R-Recursion/FibonacciNumber.cpp:12
↓ 1 callersFunctionfindAPs_Tarjan
G-Graphs/ArticulationPoints.cpp:36
↓ 1 callersFunctionfindCeil
Function to find Ceil value
T-Tree/B-BinarySearchTree/Ceil Value in BST/CeilValue.cpp:51
↓ 1 callersMethodfindCycle
initiate the search on path/cycle
B-Backtracking/HamiltonianCycle.cpp:50
↓ 1 callersFunctionfindDistance
G-Graphs/M-MinimumSpanningTree/Prims.cpp:5
↓ 1 callersFunctionfindMajority
A-Array/MajorityElement.cpp:4
↓ 1 callersFunctionfindMinInsertionsLCS
LCS based function to find minimum number of insertions
D-DynamicProgramming/Minimum_insertions_form_palindrome.cpp:47
↓ 1 callersFunctionfindPair
Find pairs with given sum key
P-Problem Statements & Solution/1-Level 1/two_pointer_on_doubly_linked_list.cpp:55
↓ 1 callersFunctionfindParentsAndLevels
T-Tree/B-BinaryTree/CousinsBinaryTree.cpp:21
↓ 1 callersFunctionfindWater
D-DynamicProgramming/TrappingRainWater.cpp:10
↓ 1 callersFunctionfloyd_warshall
G-GraphAlgorithms/S-SingleSourceShortestPath/floyd_warshall.cpp:8
↓ 1 callersFunctionfordFulkerson
Applying fordfulkerson algorithm
G-GraphAlgorithms/FordFulkerson.cpp:37
↓ 1 callersFunctionford_fulkerson
G-Graphs/N-NetworkFlow/fordFulkerson.cpp:71
↓ 1 callersFunctionfun
Recursion function
R-Recursion/Types of Recursion/TailRecursion.cpp:6
↓ 1 callersFunctionfun
Recursive function
R-Recursion/Types of Recursion/HeadRecursion.cpp:7
↓ 1 callersFunctionfun
Recursive function
R-Recursion/Types of Recursion/TreeRecursion.cpp:6
↓ 1 callersFunctionfunB
R-Recursion/Types of Recursion/IndirectRecursion.cpp:17
↓ 1 callersFunctiongenerate
R-Recursion/SubsequenceKSUM.cpp:9
↓ 1 callersFunctiongetBit
B-BitManipulation/BitManipulation.cpp:7
↓ 1 callersFunctiongetBucketIndex
S-SortingAlgorithms/BucketSort.cpp:149
↓ 1 callersFunctiongetMax
A utility function to get maximum value in arr[]
S-SearchingAlgorithms/RadixSort.cpp:7
↓ 1 callersMethodgetPVT
function to access private member
O-OOPS/I-Inheritance/AccessModifiersInInheritance.cpp:13
↓ 1 callersFunctiongetSumUtil
A recursive function to get the sum of values in the given range of the array. The following are parameters for this function. st --> Poin
A-AdvancedDataStructures/SegmentTree.cpp:18
↓ 1 callersFunctionheapSort
performing heap Sort
H-Heap/HeapSort.cpp:30
↓ 1 callersFunctionheapify
H-Heap/Heapify.cpp:7
↓ 1 callersFunctionheight
Compute the "height" of a tree -- the number of nodes along the longest path from the root node down to the farthest leaf node.*/
T-Tree/T-TreeTraversals/levelorderTraversal.cpp:46
↓ 1 callersFunctionheight
------------Height of the binary tree------------///
T-Tree/B-BinaryTree/Height_of_Tree.cpp:36
↓ 1 callersFunctionhelper
A-Array/CountingDivisibleSubstrings.cpp:7
↓ 1 callersFunctionhuffmancode
building a huffman tree
G-GreedyAlgorithms/HuffmanCoding.cpp:37
↓ 1 callersFunctioninOrderTraversal
---------------------Main Function--------------------------/// InOrder Traversal of Binary Tree - Similar to Depth First Search
T-Tree/T-TreeTraversals/inorderTraversal.cpp:25
↓ 1 callersFunctioninOrderTraversal
To Print BST
T-Tree/B-BinarySearchTree/BST.cpp:24
↓ 1 callersFunctioninitialization
Initializing the Stack
S-Stack/DecimalToBinary.cpp:15
↓ 1 callersFunctioninorder
-------------------A function for inorder traversal of the tree-------------------------*/
T-Tree/T-TreeTraversals/expressionTreeTraversal.cpp:60
↓ 1 callersFunctioninputTree
T-Tree/T-TreeTraversals/zigzag_levelorderTraversal.cpp:22
↓ 1 callersFunctioninsert
TIME COMPLEXITY BEST CASE TIME COMPLEXITY FOR INSERTION IS O(1) as the element to be inserted is at last index. So the element is directly inserted WO
A-Array/arrayOperations.cpp:47
↓ 1 callersFunctioninsert
T-Trie/TrieImplementation.cpp:24
↓ 1 callersFunctioninsert
function that inserts an element into stack.
S-Stack/ReverseStack.cpp:13
↓ 1 callersFunctioninsert
function to insert a key in node
T-Tree/B-BinarySearchTree/AVL.cpp:84
↓ 1 callersFunctioninsertAtTail
L-LinkedList/Clone a List with Random pointers/LinkedListClone.cpp:24
↓ 1 callersFunctioninsertHT
H-HashTable/HashCustomers.cpp:25
↓ 1 callersFunctioninsertNode
Function to insert a new node to the Heap
H-Heap/MaxHeap.cpp:48
↓ 1 callersFunctioninsertNode
L-LinkedList/S-SinglyLinkedList/LinkedListOperations.cpp:35
↓ 1 callersMethodinsert_at_beg
inserts element at the front if the deque is not full
Q-Queue/DequeImplementation.cpp:14
↓ 1 callersMethodinsert_at_end
inserts element at the rear if the deque is not full
Q-Queue/DequeImplementation.cpp:28
↓ 1 callersFunctioninternal_nodes
T-Tree/B-BinaryTree/InternalNodes.cpp:43
↓ 1 callersFunctioninterpolationSearch
S-SearchingAlgorithms/InterpolationSearch.cpp:7
↓ 1 callersFunctioninversion_count
R-Recursion/InversionCount.cpp:38
↓ 1 callersFunctionisAllocationPossible
function to check if cows can be allocated for the given minimum distance betwen two cows
P-Problem Statements & Solution/2-Level 2/AggressiveCows.cpp:4
↓ 1 callersFunctionisBalanced
S-Stack/Bracket Balancing Using Stack/Bracket_Balancing_using_Stack.cpp:4
↓ 1 callersFunctionisCousins
T-Tree/B-BinaryTree/CousinsBinaryTree.cpp:44
↓ 1 callersFunctionisOperator
----------------------A function to check the character is operator or not --------------*/
T-Tree/T-TreeTraversals/expressionTreeTraversal.cpp:53
↓ 1 callersFunctionisPalindrome
Function will check weather the list is palindrome or not
L-LinkedList/S-SinglyLinkedList/PalindromeLinkedList.cpp:33
↓ 1 callersFunctionisPalindrome
Function to test whether a string is palindrome or not */
S-Strings/StringPalindrome/StringPalindrome.cpp:6
↓ 1 callersMethodisSameSet
D-DisjointSetUnion/DSU.cpp:51
↓ 1 callersFunctionisValidBST
main function which will return thr result in boolean format
T-Tree/B-BinarySearchTree/Check Valid BST/checkValidBST.cpp:23
↓ 1 callersFunctioniterativePreAndPostOrder
T-Tree/G-GenricTree/IterativePreorderandPostorder.cpp:15
↓ 1 callersMethodkLargest
H-Heap/klargest.cpp:7
↓ 1 callersFunctionknapSack
D-DynamicProgramming/KnapsackwithDuplicateItems.cpp:29
↓ 1 callersMethodkruskal_mst
G-Graphs/M-MinimumSpanningTree/kruskalDSU.cpp:77
↓ 1 callersFunctionlargestSum
D-DynamicProgramming/Kadane's Algorithm/Kadane's Algorithm.cpp:5
↓ 1 callersFunctionlcs
Returns length of LCS for X[0..m - 1], Y[0..n - 1]
D-DynamicProgramming/ShortestCommonSuperSequence.cpp:30
↓ 1 callersFunctionlcs
LCS function to find the length of longest common subsequence in two strings str1 and str2
D-DynamicProgramming/MinimumInsertionDeletion.cpp:8
↓ 1 callersFunctionlcs
Returns length of LCS for X[0..m-1], Y[0..n-1].
D-DynamicProgramming/Minimum_insertions_form_palindrome.cpp:8
↓ 1 callersFunctionlcsAlgo
D-DynamicProgramming/LongestCommonSubsequence.cpp:6
↓ 1 callersFunctionleaf_count
------------Number of leaf nodes in the binary tree------------//
T-Tree/B-BinaryTree/No_of_leaf_nodes.cpp:46
↓ 1 callersFunctionlevelorder
T-Tree/G-GenricTree/LevelOrderTraversalOfaGenricTree.cpp:38
↓ 1 callersFunctionlinearSearch
A-Array/arrayOperations.cpp:94
← previousnext →201–300 of 805, ranked by callers