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
Method
levelOrder
Function to return the level order traversal of a tree.
14. Tree/Level order traversal.cpp:48
↓ 1 callers
Method
levelOrder
(Node node)
14. Tree/Class6.java:96
↓ 1 callers
Method
levelOrderLinewise
(Node node)
14. Tree/Class7.java:96
↓ 1 callers
Method
levelOrderTraversal
(self, index)
14. Tree/BinaryTreePL.py:42
↓ 1 callers
Function
levelorder
30. CPP Programs/level order traversal of binary tree.cpp:29
↓ 1 callers
Method
lexoSubseqK
(int[] arr, int k)
11. Stack/Lexographically smallest subsequence of length k/lexoKsubseq.java:10
↓ 1 callers
Function
linearSearch
05. Searching/basic_search.cpp:5
↓ 1 callers
Function
linearsearch
(arr, x)
05. Searching/LinearSearch.py:1
↓ 1 callers
Function
linkedlisttraversal
10. Linked List/doublyll.cpp:8
↓ 1 callers
Function
linkedlisttraversal
10. Linked List/circular_ll.cpp:8
↓ 1 callers
Function
lis
20. Dynamic Programming/longest_increasing_subsequence.cpp:4
↓ 1 callers
Function
lis
20. Dynamic Programming/Longest_increasing_subsequence.cpp:4
↓ 1 callers
Method
listprint
(self, node)
33. Python Programs/doubly_linkedlist.py:20
↓ 1 callers
Function
longestAlternating
04. Arrays/longest_alternating_subarray.cpp:5
↓ 1 callers
Function
longestConsecutive
main function to find the longest consecutive numbers in an array
23. Disjoint Set/LongestConsecutiveSequence.cpp:35
↓ 1 callers
Function
longestPalindrome
20. Dynamic Programming/longest_palindromic_substring.cpp:4
↓ 1 callers
Function
longestPalindrome
09. String/4_Longest Palindromic Substring.cpp:37
↓ 1 callers
Function
longestSubarray
04. Arrays/longest_subarray_of_1's_after_deletion_of_1_element.cpp:12
↓ 1 callers
Method
longestWord
21. Trie/Longest_Word_That_Can_Be_Built_One_Charcter_At_Time_From_Other_Words_In_Dictionary.cpp:48
↓ 1 callers
Function
lps
20. Dynamic Programming/longest_palindromic_subsequence.cpp:8
↓ 1 callers
Function
ltrim
30. CPP Programs/Minimum Distances/min_distances.cpp:67
↓ 1 callers
Function
luas
01. Mathematics/calculate_curv.c:12
↓ 1 callers
Function
main
06. Sorting/Bogo.cpp:30
↓ 1 callers
Function
main
17. Graph/BFS.cpp:48
↓ 1 callers
Function
main
12. Queue/circularqueue.cpp:54
↓ 1 callers
Function
main
()
11. Stack/parenthesis-checker.py:28
↓ 1 callers
Function
main
Driver code
07. Matrix/countsort.c:58
↓ 1 callers
Function
main
()
24. Cryptography/Affine_Cipher.py:42
↓ 1 callers
Function
main
()
24. Cryptography/Multiplicative_Cipher.py:42
↓ 1 callers
Function
main
()
24. Cryptography/Playfair_Cipher.py:69
↓ 1 callers
Function
main
()
33. Python Programs/tic_tac_toe.py:96
↓ 1 callers
Function
majorityElement
04. Arrays/22_Majority Element.cpp:33
↓ 1 callers
Method
majorityWins
Function to find element with more appearances between two elements in an array.
04. Arrays/who-has-the-majority.cpp:15
↓ 1 callers
Function
make_pa
30. CPP Programs/codechef LNGSUB solution.cpp:88
↓ 1 callers
Function
make_part
06. Sorting/dualPivotQuickSort.cpp:21
↓ 1 callers
Function
make_tree
17. Graph/Kruskals_Algorithm.c:70
↓ 1 callers
Function
makesum
04. Arrays/13_Combination Sum.cpp:62
↓ 1 callers
Function
mark
28. Codechef Problems/Discount-on-crackers.cpp:8
↓ 1 callers
Method
matched
(char a, char b)
11. Stack/paranthesis-checker.java:11
↓ 1 callers
Function
matpow
01. Mathematics/fibonacci matrix.cpp:24
↓ 1 callers
Function
matrixChainMemoised
Function for matrix chain multiplication
30. CPP Programs/Matrix_chain_Multiplication.cpp:27
↓ 1 callers
Function
matrix_search
27. LeetCode Problems/Search_2D_Matrix.cpp:13
↓ 1 callers
Function
max
06. Sorting/DYNAMIC_ACTIVITY_SELECTOR.cpp:5
↓ 1 callers
Method
max
(Node node)
14. Tree/Class4.java:60
↓ 1 callers
Method
max
(Node node)
14. Tree/Class7.java:60
↓ 1 callers
Method
max
(Node node)
14. Tree/Class6.java:60
↓ 1 callers
Method
max
(Node node)
14. Tree/Class3.java:60
↓ 1 callers
Method
maxArea
30. CPP Programs/10. Container With Most Water.cpp:7
↓ 1 callers
Function
maxDepth
Compute the "maxDepth" of a tree -- the number of nodes along the longest path from the root node down to the farthest leaf node.*/
30. CPP Programs/MaxDepth_of_binary_tree.cpp:19
↓ 1 callers
Method
maxDepth
(TreeNode<Integer> root)
14. Tree/Max_Depth_Of_N-ary_Tree.java:37
↓ 1 callers
Function
maxEnvelopes
04. Arrays/14_Russian Doll Envelopes.cpp:44
↓ 1 callers
Function
maxLength
09. String/Maximum_Length_with_unique_characters.cpp:54
↓ 1 callers
Method
maxNode
()
10. Linked List/java/MaxMinLinkedList.java:59
↓ 1 callers
Method
maxProfit
(int[] prices)
20. Dynamic Programming/BestTimeToBuyAndSellStockTwo.java:14
↓ 1 callers
Method
maxProfit
(int[] prices)
20. Dynamic Programming/BestTimeToBuyAndSellStockThree.java:14
↓ 1 callers
Method
maxProfit
(int[] prices)
20. Dynamic Programming/BestTimeToBuyAndSellStockOne.java:14
↓ 1 callers
Function
maxRectangle
07. Matrix/max_rectangle.cpp:36
↓ 1 callers
Function
maxSlidingWindow
13. Dequeue/sliding_window_maximum.cpp:36
↓ 1 callers
Function
maxSubArraySum
04. Arrays/kadane_algorithm.cpp:6
↓ 1 callers
Function
maxSubArraySum
Function to calculate Largest Sum Subarray
20. Dynamic Programming/LargestSumSubarray.cpp:5
↓ 1 callers
Method
maxSubArraySum
(int a[], int size)
04. Arrays/KadansAlgorithm.java:3
↓ 1 callers
Function
maxSubarrayXOR
Returns maximum XOR value of a subarray in arr[0..n-1]
21. Trie/Maximum_Subarray_XOR.cpp:92
↓ 1 callers
Method
maxSubstring
09. String/Maximum_difference_of_zeros_and_ones_in_binary_string.cpp:21
↓ 1 callers
Method
maxSum
(TreeNode node)
14. Tree/Maximum_Path_Sum.java:36
↓ 1 callers
Function
max_heapify
Max heapify helper for max_heap_sort
06. Sorting/heap_sort.py:18
↓ 1 callers
Function
maximum
10. Linked List/c lang/Linked List.c:185
↓ 1 callers
Function
maximum_profit
20. Dynamic Programming/1_Best Time To Buy And Sell Stocks.cpp:39
↓ 1 callers
Function
maximum_subarray_sum
04. Arrays/kadanes_algorithm.cpp:4
↓ 1 callers
Function
maxinarray
05. Searching/painterpartitionproblem.cpp:22
↓ 1 callers
Function
merge
Function to perform union two components
01. Mathematics/Boruvka’s Algorithm.cpp:50
↓ 1 callers
Function
merge
30. CPP Programs/Merge Sort.cpp:4
↓ 1 callers
Function
merge
Merge function merges the sorted runs
06. Sorting/Timsort.cpp:24
↓ 1 callers
Function
merge
06. Sorting/inversions.cpp:16
↓ 1 callers
Function
merge
This funt merges two sorted arrays and returns inversion count in the arrays.*/
06. Sorting/CountInversions.cpp:53
↓ 1 callers
Function
merge
Merges two subarrays of array[]. First subarray is arr[begin..mid] Second subarray is arr[mid+1..end]
06. Sorting/Merge_sort.cpp:7
↓ 1 callers
Function
merge
10. Linked List/c lang/merge_common_LL.c:43
↓ 1 callers
Function
merge
15. Binary Search Tree/merging-two-bst.cpp:66
↓ 1 callers
Method
merge
(self, a, b)
10. Linked List/flatenning_a_linked_list.py:42
↓ 1 callers
Method
merge
15. Binary Search Tree/Merge_Two_BST.cpp:100
↓ 1 callers
Function
mergeSort
30. CPP Programs/Merge Sort.cpp:51
↓ 1 callers
Function
mergeSort
(arr)
06. Sorting/mergeSort.py:2
↓ 1 callers
Function
mergeSort
06. Sorting/inversions.cpp:46
↓ 1 callers
Function
mergeSort
This function sorts the input array and returns the number of inversions in the array */
06. Sorting/CountInversions.cpp:21
↓ 1 callers
Function
mergeSort
(nlist,count)
06. Sorting/merge-sort-with-count-inversion.py:1
↓ 1 callers
Function
mergeSort
begin is for left index and end is right index of the sub-array of arr to be sorted */
06. Sorting/Merge_sort.cpp:57
↓ 1 callers
Function
mergeSort
10. Linked List/MergeSortLinkedList.cpp:91
↓ 1 callers
Method
mergeSort
(int a[], int beg, int end)
06. Sorting/merge_sort.java:53
↓ 1 callers
Function
mergeSortedArray
(arr1, arr2)
34. Javascript/MergeSortedArray.js:4
↓ 1 callers
Function
mergeTrees
15. Binary Search Tree/merging-two-bst.cpp:27
↓ 1 callers
Method
mergeTwoLists
(ListNode l1, ListNode l2)
27. LeetCode Problems/MergeKsortedList.Java:18
↓ 1 callers
Function
merge_all
(arr, l, m, r)
33. Python Programs/merge_sort.py:3
↓ 1 callers
Function
merge_sort
(arr, l, r)
33. Python Programs/merge_sort.py:36
↓ 1 callers
Method
merged
(LinkedList list)
10. Linked List/java/LinkedList.java:160
↓ 1 callers
Function
mergee
28. Codechef Problems/Dish-Owner.cpp:87
↓ 1 callers
Function
merger
04. Arrays/Count_inversions.cpp:3
↓ 1 callers
Function
mergesort
Sort array `arr[low…high]` using auxiliary array `aux`
06. Sorting/Merge sort.c:37
↓ 1 callers
Method
mid
()
10. Linked List/java/middle of linked list.java:217
↓ 1 callers
Function
midPoint
10. Linked List/MergeSortLinkedList.cpp:51
↓ 1 callers
Function
min
06. Sorting/collecting_numbers.cpp:65
↓ 1 callers
Method
minCoins
20. Dynamic Programming/Numbet of coins, coin change-2 .cpp:8
← previous
next →
1,401–1,500 of 4,122, ranked by callers