Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA
/ functions
Functions
4,122 in github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA
⨍
Functions
4,122
◇
Types & classes
941
↳
Endpoints
3
↓ 1 callers
Function
inserttochain
08. Hashing/SeperateChaining.c:11
↓ 1 callers
Method
insertvalue
04. Arrays/insert and delete an element of array.cpp:49
↓ 1 callers
Function
intToRoman
09. String/6_Integer to Roman.cpp:64
↓ 1 callers
Method
interpolationSearch
(int arr[], int lo, int hi, int x)
05. Searching/Interpolation_Search.java:4
↓ 1 callers
Function
intersection
04. Arrays/21_Intersection Of Two Array.cpp:33
↓ 1 callers
Function
invar
clang-format on ------------------------------------------------SOLVE----------------------------------------------*/ This variation of ibnary search
05. Searching/Binary_Search_Invariant.cpp:23
↓ 1 callers
Function
inverse
01. Mathematics/19_Extended_Euclid.cpp:16
↓ 1 callers
Function
inverse
()
24. Cryptography/Affine_Cipher.py:13
↓ 1 callers
Function
inverse
()
24. Cryptography/Multiplicative_Cipher.py:14
↓ 1 callers
Function
inversionCount
04. Arrays/Count_inversions.cpp:38
↓ 1 callers
Function
inversions
06. Sorting/inversions.cpp:71
↓ 1 callers
Function
invertBinaryTree
Function to invert a given binary tree using preorder traversal
14. Tree/invert_binary_tree.cpp:30
↓ 1 callers
Function
invert_modulo
>>> invert_modulo(2, 5) 3 >>> invert_modulo(8,7) 1
25. Blockchain/modular_division.py:36
↓ 1 callers
Function
isBST
14. Tree/check_BST.c:43
↓ 1 callers
Function
isBST
14. Tree/check_if_a_binary_tree_is_bst.cpp:37
↓ 1 callers
Method
isBST
Function to check whether a Binary Tree is BST or not.
15. Binary Search Tree/check_for_bst.cpp:33
↓ 1 callers
Function
isBSTUtil
14. Tree/check_if_a_binary_tree_is_bst.cpp:19
↓ 1 callers
Method
isBalanced
(String str)
11. Stack/paranthesis-checker.java:16
↓ 1 callers
Function
isDeadEnd
You are required to complete below method */
15. Binary Search Tree/isDeadEnd.cpp:87
↓ 1 callers
Method
isEmpty
()
11. Stack/stackArray.java:60
↓ 1 callers
Method
isEmpty
check if stack is empty
11. Stack/Stack implementation by priority queue ( most frequently ask ).cpp:35
↓ 1 callers
Function
isEmpty_queue
17. Graph/Breadth First Search.c:99
↓ 1 callers
Function
isFull
17. Graph/C/DFS.c:126
↓ 1 callers
Function
isFull
11. Stack/stack.c:73
↓ 1 callers
Method
isFull
(self)
12. Queue/QueueWithCapacity.py:12
↓ 1 callers
Function
isLucky
01. Mathematics/2_Lucky Numbers .cpp:45
↓ 1 callers
Function
isMajority
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 callers
Function
isNull
10. Linked List/c lang/Linked List.c:372
↓ 1 callers
Function
isOperand
11. Stack/infix_to_postfix.cpp:6
↓ 1 callers
Function
isPalindrome
Function to check whether string is palindrome
04. Arrays/palindrome_string.cpp:7
↓ 1 callers
Function
isPalindrome
10. Linked List/cpp/Checking if a linked list is Palindrome.cpp:33
↓ 1 callers
Method
isPalindrome
(self, x: int)
27. LeetCode Problems/palindrome.py:9
↓ 1 callers
Method
isPerfectSquare
05. Searching/1_Check perfect square.cpp:39
↓ 1 callers
Function
isPossible
03. Recursion/NQueen.cpp:7
↓ 1 callers
Function
isPossible
03. Recursion/Nqueen.cpp:7
↓ 1 callers
Function
isPower
28. Codechef Problems/CodeChef/CCSTART2/CodeChef_Cooking Machine__Solved.cpp:55
↓ 1 callers
Function
isPrime
01. Mathematics/10_exactly 3 divisors.cpp:10
↓ 1 callers
Function
isPrime
* Internal method to test if a positive number is prime. * Not an efficient algorithm. */
08. Hashing/separatechaining.cpp:10
↓ 1 callers
Method
isPrime
01. Mathematics/14_primalityTest.cpp:13
↓ 1 callers
Method
isPrime
(int n)
32. Java Programs/fibonacci_twist.java:30
↓ 1 callers
Method
isSafe
(boolean[][] graph, int[] color)
19. Backtracking/MColoringProblem.java:18
↓ 1 callers
Function
isSafeToPut
19. Backtracking/nqueen.cpp:8
↓ 1 callers
Function
isSafeToPut
19. Backtracking/SudokuSolver.cpp:6
↓ 1 callers
Function
isSorted
Function to check if arr is sorted in ascending order or not
06. Sorting/Merge sort.c:56
↓ 1 callers
Method
isSpacefree
(self, position)
37. Projects/tic_tac_toe_AI.py:44
↓ 1 callers
Function
isSubtree
This function returns true if S is a subtree of T, otherwise false */
14. Tree/check_binary_tree_subtree.cpp:39
↓ 1 callers
Function
isTriplet
(arr, n)
33. Python Programs/isTriplet.py:3
↓ 1 callers
Method
isTrue
30. CPP Programs/bank_management_system.cpp:130
↓ 1 callers
Function
isVALID
05. Searching/painterpartitionproblem.cpp:5
↓ 1 callers
Function
isValid
09. String/validate_IP_address.cpp:4
↓ 1 callers
Function
is_palin
03. Recursion/isPalindromeRecursive.cpp:4
↓ 1 callers
Function
is_palindrome
This function return boolean value to check whether the word/sentence is a palindrome or not.
33. Python Programs/palindrome.py:6
↓ 1 callers
Function
isdelim
17. Graph/bfs_rotten_oranges.cpp:16
↓ 1 callers
Method
isempty
11. Stack/ArrayImplementStack.cpp:50
↓ 1 callers
Function
isoperand
11. Stack/InfixtoPostfix.c:35
↓ 1 callers
Function
isoprand
11. Stack/Infix_to_Postfix_and_Evaluation.c:16
↓ 1 callers
Function
isoprator
11. Stack/Infix_to_Postfix_and_Evaluation.c:8
↓ 1 callers
Method
ispar
Function to check if brackets are balanced or not.
11. Stack/parenthesis-checker.cpp:14
↓ 1 callers
Method
iterativeCombinationAlgorithm
(int n, int k)
32. Java Programs/iterative Combination Algorithm.java:17
↓ 1 callers
Method
iterativePrintList
(Node head)
10. Linked List/java/TraverseLinkedList.java:14
↓ 1 callers
Function
jets
30. CPP Programs/mcm_recursive.cpp:9
↓ 1 callers
Function
josephus_iterative
03. Recursion/Josephus_algorithm.cpp:13
↓ 1 callers
Function
josephus_recursive
03. Recursion/Josephus_algorithm.cpp:22
↓ 1 callers
Function
jumpSearch
( arr , x , n )
06. Sorting/jump_search.py:4
↓ 1 callers
Function
jumpSearch
( arr , x , n )
33. Python Programs/jump_search.py:3
↓ 1 callers
Function
kadane
07. Matrix/Kadane's Algorithm.cpp:6
↓ 1 callers
Method
kadane
(int[] A)
04. Arrays/KadanesAlgo.java:5
↓ 1 callers
Function
kahn
30. CPP Programs/cycle detection in undirected graph.cpp:19
↓ 1 callers
Function
kargerMinCut
17. Graph/kragers.c:28
↓ 1 callers
Function
kasai
To construct and return LCP */
06. Sorting/kasai_algorithm.cpp:96
↓ 1 callers
Function
key_generation
Returns ((public key), (private key))\\ p, q should not be revealed anywhere.
24. Cryptography/RSA_Enc_Dec.py:74
↓ 1 callers
Function
kgrammar
03. Recursion/KthGrammar.cpp:5
↓ 1 callers
Function
kmp
30. CPP Programs/Sprague-Grundy Algorithm.cpp:37
↓ 1 callers
Function
kmpAlgo
(patt, recurr)
31. Pattern Problems/Python Patterns/KMP_Algo.py:1
↓ 1 callers
Function
kmp_match
09. String/kmpStringMatching.c:6
↓ 1 callers
Function
knapSack
30. CPP Programs/Knapsack_using_DP.cpp:6
↓ 1 callers
Method
knapSack
Function to return max value that can be put in knapsack of capacity W.
20. Dynamic Programming/0 - 1 KnapsackProblem.cpp:15
↓ 1 callers
Method
knapsack
(int n, int m, float[] w, float[] p)
18. Greedy/FractionalKnapsack.java:5
↓ 1 callers
Function
knight_tour
19. Backtracking/Knight Tour.c:21
↓ 1 callers
Function
kth
30. CPP Programs/K-th element of two sorted array.cpp:5
↓ 1 callers
Method
kthFromLast
(int k)
10. Linked List/java/middle of linked list.java:202
↓ 1 callers
Function
kthLargest
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 callers
Function
kthSmallest
Solution for the problem statement.
15. Binary Search Tree/kth_Smallest_BST.cpp:79
↓ 1 callers
Method
kthSmallest
04. Arrays/kth_smallest_element.cpp:24
↓ 1 callers
Function
kth_element
05. Searching/kth smallest element.cpp:25
↓ 1 callers
Function
l_rotate
04. Arrays/left-array_rotation.cpp:6
↓ 1 callers
Function
largestNumber
09. String/3_Largest Number.cpp:40
↓ 1 callers
Function
largestSubarraySum1
05. Searching/6-Kadens-largest-subarray.cpp:4
↓ 1 callers
Function
last
37. Projects/salaryManagement.c:195
↓ 1 callers
Function
latestNonConflict
18. Greedy/Weighted_Job _Scheduling.cpp:48
↓ 1 callers
Function
lbs
30. CPP Programs/Longest_Bitonic_Subsequence.cpp:4
↓ 1 callers
Function
lca
28. Codechef Problems/Nuttela-Path-Unit.cpp:26
↓ 1 callers
Function
lcm
03. Recursion/lcmreturn.cpp:4
↓ 1 callers
Function
lcs
20. Dynamic Programming/FormAPalindrome.cpp:11
↓ 1 callers
Method
lcs
(char[] X, char[] Y, int m, int n)
20. Dynamic Programming/LCS-DP.java:4
↓ 1 callers
Method
lcs
Function to find the length of longest common subsequence in two strings.
20. Dynamic Programming/Longest_Common_Subsequence.cpp:8
↓ 1 callers
Function
lcsAlgo
20. Dynamic Programming/lcs.cpp:6
↓ 1 callers
Function
leftrotate
01. Mathematics/rotate array left or right.cpp:4
↓ 1 callers
Method
lenOfLongSubarray
(int[] arr, int n, int k)
08. Hashing/Largest_Subarray_Of_K_sum.java:18
↓ 1 callers
Function
lengthOfLongestSubsetWithZeroSum
08. Hashing/Longest Subset Zero Sum.cpp:34
← previous
next →
1,301–1,400 of 4,122, ranked by callers