MCPcopy Create free account

hub / github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA / functions

Functions4,122 in github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA

↓ 1 callersFunctioninserttochain
08. Hashing/SeperateChaining.c:11
↓ 1 callersMethodinsertvalue
04. Arrays/insert and delete an element of array.cpp:49
↓ 1 callersFunctionintToRoman
09. String/6_Integer to Roman.cpp:64
↓ 1 callersMethodinterpolationSearch
(int arr[], int lo, int hi, int x)
05. Searching/Interpolation_Search.java:4
↓ 1 callersFunctionintersection
04. Arrays/21_Intersection Of Two Array.cpp:33
↓ 1 callersFunctioninvar
clang-format on ------------------------------------------------SOLVE----------------------------------------------*/ This variation of ibnary search
05. Searching/Binary_Search_Invariant.cpp:23
↓ 1 callersFunctioninverse
01. Mathematics/19_Extended_Euclid.cpp:16
↓ 1 callersFunctioninverse
()
24. Cryptography/Affine_Cipher.py:13
↓ 1 callersFunctioninverse
()
24. Cryptography/Multiplicative_Cipher.py:14
↓ 1 callersFunctioninversionCount
04. Arrays/Count_inversions.cpp:38
↓ 1 callersFunctioninversions
06. Sorting/inversions.cpp:71
↓ 1 callersFunctioninvertBinaryTree
Function to invert a given binary tree using preorder traversal
14. Tree/invert_binary_tree.cpp:30
↓ 1 callersFunctioninvert_modulo
>>> invert_modulo(2, 5) 3 >>> invert_modulo(8,7) 1
25. Blockchain/modular_division.py:36
↓ 1 callersFunctionisBST
14. Tree/check_BST.c:43
↓ 1 callersFunctionisBST
14. Tree/check_if_a_binary_tree_is_bst.cpp:37
↓ 1 callersMethodisBST
Function to check whether a Binary Tree is BST or not.
15. Binary Search Tree/check_for_bst.cpp:33
↓ 1 callersFunctionisBSTUtil
14. Tree/check_if_a_binary_tree_is_bst.cpp:19
↓ 1 callersMethodisBalanced
(String str)
11. Stack/paranthesis-checker.java:16
↓ 1 callersFunctionisDeadEnd
You are required to complete below method */
15. Binary Search Tree/isDeadEnd.cpp:87
↓ 1 callersMethodisEmpty
()
11. Stack/stackArray.java:60
↓ 1 callersMethodisEmpty
check if stack is empty
11. Stack/Stack implementation by priority queue ( most frequently ask ).cpp:35
↓ 1 callersFunctionisEmpty_queue
17. Graph/Breadth First Search.c:99
↓ 1 callersFunctionisFull
17. Graph/C/DFS.c:126
↓ 1 callersFunctionisFull
11. Stack/stack.c:73
↓ 1 callersMethodisFull
(self)
12. Queue/QueueWithCapacity.py:12
↓ 1 callersFunctionisLucky
01. Mathematics/2_Lucky Numbers .cpp:45
↓ 1 callersFunctionisMajority
Function to check if the candidate occurs more than n/2 times */
27. LeetCode Problems/Majority_Element(Using Boyer Moore's Algo).cpp:37
↓ 1 callersFunctionisNull
10. Linked List/c lang/Linked List.c:372
↓ 1 callersFunctionisOperand
11. Stack/infix_to_postfix.cpp:6
↓ 1 callersFunctionisPalindrome
Function to check whether string is palindrome
04. Arrays/palindrome_string.cpp:7
↓ 1 callersFunctionisPalindrome
10. Linked List/cpp/Checking if a linked list is Palindrome.cpp:33
↓ 1 callersMethodisPalindrome
(self, x: int)
27. LeetCode Problems/palindrome.py:9
↓ 1 callersMethodisPerfectSquare
05. Searching/1_Check perfect square.cpp:39
↓ 1 callersFunctionisPossible
03. Recursion/NQueen.cpp:7
↓ 1 callersFunctionisPossible
03. Recursion/Nqueen.cpp:7
↓ 1 callersFunctionisPower
28. Codechef Problems/CodeChef/CCSTART2/CodeChef_Cooking Machine__Solved.cpp:55
↓ 1 callersFunctionisPrime
01. Mathematics/10_exactly 3 divisors.cpp:10
↓ 1 callersFunctionisPrime
* Internal method to test if a positive number is prime. * Not an efficient algorithm. */
08. Hashing/separatechaining.cpp:10
↓ 1 callersMethodisPrime
01. Mathematics/14_primalityTest.cpp:13
↓ 1 callersMethodisPrime
(int n)
32. Java Programs/fibonacci_twist.java:30
↓ 1 callersMethodisSafe
(boolean[][] graph, int[] color)
19. Backtracking/MColoringProblem.java:18
↓ 1 callersFunctionisSafeToPut
19. Backtracking/nqueen.cpp:8
↓ 1 callersFunctionisSafeToPut
19. Backtracking/SudokuSolver.cpp:6
↓ 1 callersFunctionisSorted
Function to check if arr is sorted in ascending order or not
06. Sorting/Merge sort.c:56
↓ 1 callersMethodisSpacefree
(self, position)
37. Projects/tic_tac_toe_AI.py:44
↓ 1 callersFunctionisSubtree
This function returns true if S is a subtree of T, otherwise false */
14. Tree/check_binary_tree_subtree.cpp:39
↓ 1 callersFunctionisTriplet
(arr, n)
33. Python Programs/isTriplet.py:3
↓ 1 callersMethodisTrue
30. CPP Programs/bank_management_system.cpp:130
↓ 1 callersFunctionisVALID
05. Searching/painterpartitionproblem.cpp:5
↓ 1 callersFunctionisValid
09. String/validate_IP_address.cpp:4
↓ 1 callersFunctionis_palin
03. Recursion/isPalindromeRecursive.cpp:4
↓ 1 callersFunctionis_palindrome
This function return boolean value to check whether the word/sentence is a palindrome or not.
33. Python Programs/palindrome.py:6
↓ 1 callersFunctionisdelim
17. Graph/bfs_rotten_oranges.cpp:16
↓ 1 callersMethodisempty
11. Stack/ArrayImplementStack.cpp:50
↓ 1 callersFunctionisoperand
11. Stack/InfixtoPostfix.c:35
↓ 1 callersFunctionisoprand
11. Stack/Infix_to_Postfix_and_Evaluation.c:16
↓ 1 callersFunctionisoprator
11. Stack/Infix_to_Postfix_and_Evaluation.c:8
↓ 1 callersMethodispar
Function to check if brackets are balanced or not.
11. Stack/parenthesis-checker.cpp:14
↓ 1 callersMethoditerativeCombinationAlgorithm
(int n, int k)
32. Java Programs/iterative Combination Algorithm.java:17
↓ 1 callersMethoditerativePrintList
(Node head)
10. Linked List/java/TraverseLinkedList.java:14
↓ 1 callersFunctionjets
30. CPP Programs/mcm_recursive.cpp:9
↓ 1 callersFunctionjosephus_iterative
03. Recursion/Josephus_algorithm.cpp:13
↓ 1 callersFunctionjosephus_recursive
03. Recursion/Josephus_algorithm.cpp:22
↓ 1 callersFunctionjumpSearch
( arr , x , n )
06. Sorting/jump_search.py:4
↓ 1 callersFunctionjumpSearch
( arr , x , n )
33. Python Programs/jump_search.py:3
↓ 1 callersFunctionkadane
07. Matrix/Kadane's Algorithm.cpp:6
↓ 1 callersMethodkadane
(int[] A)
04. Arrays/KadanesAlgo.java:5
↓ 1 callersFunctionkahn
30. CPP Programs/cycle detection in undirected graph.cpp:19
↓ 1 callersFunctionkargerMinCut
17. Graph/kragers.c:28
↓ 1 callersFunctionkasai
To construct and return LCP */
06. Sorting/kasai_algorithm.cpp:96
↓ 1 callersFunctionkey_generation
Returns ((public key), (private key))\\ p, q should not be revealed anywhere.
24. Cryptography/RSA_Enc_Dec.py:74
↓ 1 callersFunctionkgrammar
03. Recursion/KthGrammar.cpp:5
↓ 1 callersFunctionkmp
30. CPP Programs/Sprague-Grundy Algorithm.cpp:37
↓ 1 callersFunctionkmpAlgo
(patt, recurr)
31. Pattern Problems/Python Patterns/KMP_Algo.py:1
↓ 1 callersFunctionkmp_match
09. String/kmpStringMatching.c:6
↓ 1 callersFunctionknapSack
30. CPP Programs/Knapsack_using_DP.cpp:6
↓ 1 callersMethodknapSack
Function to return max value that can be put in knapsack of capacity W.
20. Dynamic Programming/0 - 1 KnapsackProblem.cpp:15
↓ 1 callersMethodknapsack
(int n, int m, float[] w, float[] p)
18. Greedy/FractionalKnapsack.java:5
↓ 1 callersFunctionknight_tour
19. Backtracking/Knight Tour.c:21
↓ 1 callersFunctionkth
30. CPP Programs/K-th element of two sorted array.cpp:5
↓ 1 callersMethodkthFromLast
(int k)
10. Linked List/java/middle of linked list.java:202
↓ 1 callersFunctionkthLargest
arr : given array l : starting index of the array i.e 0 r : ending index of the array i.e size-1 k : find kth largest element and return using this fu
04. Arrays/Kth_largest_element.cpp:8
↓ 1 callersFunctionkthSmallest
Solution for the problem statement.
15. Binary Search Tree/kth_Smallest_BST.cpp:79
↓ 1 callersMethodkthSmallest
04. Arrays/kth_smallest_element.cpp:24
↓ 1 callersFunctionkth_element
05. Searching/kth smallest element.cpp:25
↓ 1 callersFunctionl_rotate
04. Arrays/left-array_rotation.cpp:6
↓ 1 callersFunctionlargestNumber
09. String/3_Largest Number.cpp:40
↓ 1 callersFunctionlargestSubarraySum1
05. Searching/6-Kadens-largest-subarray.cpp:4
↓ 1 callersFunctionlast
37. Projects/salaryManagement.c:195
↓ 1 callersFunctionlatestNonConflict
18. Greedy/Weighted_Job _Scheduling.cpp:48
↓ 1 callersFunctionlbs
30. CPP Programs/Longest_Bitonic_Subsequence.cpp:4
↓ 1 callersFunctionlca
28. Codechef Problems/Nuttela-Path-Unit.cpp:26
↓ 1 callersFunctionlcm
03. Recursion/lcmreturn.cpp:4
↓ 1 callersFunctionlcs
20. Dynamic Programming/FormAPalindrome.cpp:11
↓ 1 callersMethodlcs
(char[] X, char[] Y, int m, int n)
20. Dynamic Programming/LCS-DP.java:4
↓ 1 callersMethodlcs
Function to find the length of longest common subsequence in two strings.
20. Dynamic Programming/Longest_Common_Subsequence.cpp:8
↓ 1 callersFunctionlcsAlgo
20. Dynamic Programming/lcs.cpp:6
↓ 1 callersFunctionleftrotate
01. Mathematics/rotate array left or right.cpp:4
↓ 1 callersMethodlenOfLongSubarray
(int[] arr, int n, int k)
08. Hashing/Largest_Subarray_Of_K_sum.java:18
↓ 1 callersFunctionlengthOfLongestSubsetWithZeroSum
08. Hashing/Longest Subset Zero Sum.cpp:34
← previousnext →1,301–1,400 of 4,122, ranked by callers