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
bfs
(tree,root)
33. Python Programs/breath-first-search.py:3
↓ 1 callers
Method
bfs
(ArrayList<Integer> g[],boolean v[],int n)
17. Graph/bfs_iterative.java:25
↓ 1 callers
Function
bfs2
17. Graph/traversalbfs.cpp:49
↓ 1 callers
Function
bfs3
bfs for graph having various connected components
17. Graph/traversalbfs.cpp:31
↓ 1 callers
Function
bin_bucket_sort
Binary bucket sort / 2-Radix sort Time: O(NLog2N) Space: O(N) input: 1D-list array output: 1D-list sorted array
06. Sorting/binary_bucket_sort.py:5
↓ 1 callers
Function
bin_exp
01. Mathematics/binary exponent recursive.cpp:4
↓ 1 callers
Function
bin_exp
01. Mathematics/modular exponent recursion.cpp:3
↓ 1 callers
Function
binarySearch
iterative binary search
05. Searching/binary_search1.cpp:4
↓ 1 callers
Function
binarySearch
A recursive binary search function. It returns location of x in given array arr[l..r] is present, otherwise -1
05. Searching/BinarySearch3.cpp:7
↓ 1 callers
Function
binarySearch
30. CPP Programs/Binary Search (Recursive).cpp:15
↓ 1 callers
Method
binarySearch
(int element)
05. Searching/binarySearch.java:18
↓ 1 callers
Method
binarySearch
(int arr[], int l, int r, int x)
32. Java Programs/binary_search.java:5
↓ 1 callers
Method
binarySearch
(int arr[], int l, int r, int x)
06. Sorting/binary_search.java:4
↓ 1 callers
Function
binarySearchrecursive
A recursive binary search function. It returns location of x in given array arr[l..r] is present, otherwise -1
01. Mathematics/binsearch.cpp:6
↓ 1 callers
Function
binaryTreesOfHeightH
10. Linked List/cpp/2.Insertion in Linked List.cpp:23
↓ 1 callers
Function
binary_search
30. CPP Programs/agnosticsearch.cpp:4
↓ 1 callers
Function
binary_search
15. Binary Search Tree/agnostic_search.cpp:4
↓ 1 callers
Function
binary_to_decimal
01. Mathematics/20_Conversion_from_Binary_to_Decimal.cpp:11
↓ 1 callers
Function
binaryexp
30. CPP Programs/codeforces_745_A_solution.cpp:41
↓ 1 callers
Function
binomialCoeff
Returns value of Binomial Coefficient C(n, k)
04. Arrays/catalan_numbers.cpp:6
↓ 1 callers
Function
binomialCoefficient
Returns value of Binomial Coefficient
20. Dynamic Programming/BinomialCoefficient.cpp:5
↓ 1 callers
Function
binpow
01. Mathematics/binary exponent loop.cpp:3
↓ 1 callers
Function
binsearch
01. Mathematics/cows.cpp:20
↓ 1 callers
Function
bit_st
19. Backtracking/cses_bit_strings.cpp:6
↓ 1 callers
Function
bitonicMerge
(a, low, cnt, dire)
06. Sorting/bitonicsort.py:15
↓ 1 callers
Method
bitonicMerge
(int a[], int low, int cnt, int dir)
06. Sorting/BitonicSort.java:19
↓ 1 callers
Function
bitonicSort
(a, low, cnt,dire)
06. Sorting/bitonicsort.py:26
↓ 1 callers
Method
bitonicSort
(int a[], int low, int cnt, int dir)
06. Sorting/BitonicSort.java:31
↓ 1 callers
Function
bogoSort
06. Sorting/Bogo.cpp:18
↓ 1 callers
Function
boruvkaAlgorithm
Main function to find MST using Boruvka's algorithm
01. Mathematics/Boruvka’s Algorithm.cpp:70
↓ 1 callers
Function
breakPalindrome
09. String/Break_Palindrome.cpp:41
↓ 1 callers
Function
bubbleSort
(arr)
06. Sorting/bubbleSort.js:2
↓ 1 callers
Function
bubbleSort
06. Sorting/bubble_sort.c:3
↓ 1 callers
Function
bubbleSort
A function to implement bubble sort
06. Sorting/recursive_bubble_sort.cpp:7
↓ 1 callers
Function
bubbleSort
10. Linked List/Bubblesortinlinkedlist.cpp:50
↓ 1 callers
Method
bubbleSort
(int[] arr)
32. Java Programs/Bubble Sort in Java.java:2
↓ 1 callers
Method
bubbleSort
(int arr[], int n)
06. Sorting/Bubblesort.java:5
↓ 1 callers
Function
bubble_sort
(list1)
06. Sorting/bubblesort.py:2
↓ 1 callers
Function
bubble_sort
06. Sorting/bubble_sort.cpp:7
↓ 1 callers
Function
bucketSort
05. Searching/bucketSort.cpp:6
↓ 1 callers
Function
bucketSort
06. Sorting/Bucket_sort.cpp:17
↓ 1 callers
Function
bucketSort
(x)
06. Sorting/bucket_sort.py:12
↓ 1 callers
Function
bucketSort
06. Sorting/bucket_sort.cpp:17
↓ 1 callers
Function
bucketSort
Function to sort arr[] of size n using bucket sort
06. Sorting/bucketSort.cpp:10
↓ 1 callers
Function
build
22. Segment Tree/max sum subarray from l to r.cpp:18
↓ 1 callers
Method
build
(List<List<String>> equations, double[] values)
17. Graph/EvaluateDivision.java:41
↓ 1 callers
Function
buildArray
04. Arrays/18_Build Array from Permutation.cpp:39
↓ 1 callers
Function
buildCartesianTree
A function to create the Cartesian Tree in O(N) time
06. Sorting/cartesian_tree_sorting.cpp:69
↓ 1 callers
Function
buildCartesianTreeUtil
06. Sorting/cartesian_tree_sorting.cpp:50
↓ 1 callers
Method
buildHeap
16. Heap/Max_heap.cpp:34
↓ 1 callers
Function
buildST
22. Segment Tree/max_segtree_lazy.cpp:23
↓ 1 callers
Function
buildSuffixArray
This is the main function that takes a string 'txt' of size n as an argument, builds and return the suffix array for the given string
06. Sorting/kasai_algorithm.cpp:22
↓ 1 callers
Function
buildTree
Function to Build Tree
14. Tree/Zig-Zag-traversal.cpp:44
↓ 1 callers
Function
buildTree
Function to Build Tree
14. Tree/Level order traversal.cpp:98
↓ 1 callers
Function
buildTree
14. Tree/Max and min element in Binary Tree.cpp:35
↓ 1 callers
Function
buildTree
Function to Build Tree
14. Tree/Right_View_Of_Binary_Tree.cpp:88
↓ 1 callers
Function
buildTree
22. Segment Tree/seg.cpp:31
↓ 1 callers
Function
buildTree
Function to Build Tree
15. Binary Search Tree/check_for_bst.cpp:51
↓ 1 callers
Function
buildheap
06. Sorting/HeapSort.cpp:22
↓ 1 callers
Function
buildheap
06. Sorting/heapsort.cpp:22
↓ 1 callers
Function
buildtree
14. Tree/BinaryTree_BFS_Traversal.cpp:27
↓ 1 callers
Method
cToF
You need to complete this function
01. Mathematics/8_ConvertCelsiusToFahrenheit.cpp:14
↓ 1 callers
Function
c_p_c
22. Segment Tree/seg.cpp:77
↓ 1 callers
Function
calc
30. CPP Programs/Two_Knights.cpp:4
↓ 1 callers
Function
calculate
11. Stack/Basic_Calculator.cpp:42
↓ 1 callers
Function
calculateBytes
(x,r)
33. Python Programs/password generator.py:18
↓ 1 callers
Function
calculateSD
04. Arrays/StandardDeviation.cpp:15
↓ 1 callers
Function
calculateSpan
11. Stack/Stocks_span.cpp:9
↓ 1 callers
Function
camelcase
09. String/CamelCase.cpp:12
↓ 1 callers
Method
canPartition
(int[] nums)
20. Dynamic Programming/PartitionEqualSubsetSum.java:7
↓ 1 callers
Method
canReach
01. Mathematics/3_Final Destination.cpp:51
↓ 1 callers
Function
candies
Function to find out the number of candies every person received
04. Arrays/distribute_n_candies_k_kids.cpp:7
↓ 1 callers
Method
capacityl
04. Arrays/insert and delete an element of array.cpp:28
↓ 1 callers
Function
catalan
A Binomial coefficient based function to find nth catalan number in O(n) time
04. Arrays/catalan_numbers.cpp:24
↓ 1 callers
Method
chain_valid
(self, chain)
25. Blockchain/blockchain_creation.py:66
↓ 1 callers
Function
change
11. Stack/stack.c:118
↓ 1 callers
Function
char_to_morse
* Get the morse representation for given character. * @param c Character * @returns morse representation string of character */
30. CPP Programs/morse_code.cpp:33
↓ 1 callers
Function
check
05. Searching/Aggressive cows.cpp:4
↓ 1 callers
Function
check
05. Searching/kth smallest element.cpp:6
↓ 1 callers
Function
check
04. Arrays/no_of_occurence.cpp:4
↓ 1 callers
Function
check
17. Graph/detect cycle directed graph bfs.cpp:6
↓ 1 callers
Function
check
19. Backtracking/RatInMaze.cpp:7
↓ 1 callers
Method
check
(char b[][],int pos,String w,boolean vis[][],int i,int j)
27. LeetCode Problems/word-search-79-leetcode.java:15
↓ 1 callers
Method
check
(TreeNode r,long min,long max)
27. LeetCode Problems/98-Validate-Binary-Search-Tree.java:22
↓ 1 callers
Function
checkAB
03. Recursion/checkAB.cpp:41
↓ 1 callers
Method
checkAngle
(double baseSquare, double perpendicularSquare, double hypotenuseSquare)
27. LeetCode Problems/ValidSquare.java:53
↓ 1 callers
Function
checkBoxColor
()
37. Projects/Javascript Puzzle Memory Game/script.js:40
↓ 1 callers
Method
checkDraw
(self, board)
37. Projects/tic_tac_toe_AI.py:76
↓ 1 callers
Function
checkForCharacters
(kword)
33. Python Programs/password generator.py:77
↓ 1 callers
Method
checkKthBit
Function to check if Kth bit is set or not.
02. Bit Magic/Q3.cpp:14
↓ 1 callers
Function
checkLoop
17. Graph/Cycle Detection In Graph.cpp:72
↓ 1 callers
Method
checkPassword
()
32. Java Programs/hotelManagement.java:45
↓ 1 callers
Method
checkPerfectSquare
(double number)
05. Searching/1. Check_Perfect_Square.java:5
↓ 1 callers
Function
checkSorted
06. Sorting/Bogo.cpp:6
↓ 1 callers
Function
checkUnique
09. String/Check-if-string-consists-of-unique-chars-Hashmaps.cpp:9
↓ 1 callers
Function
check_columns_rows
(set, mat)
24. Cryptography/Playfair_Cipher.py:1
↓ 1 callers
Function
check_panlindrome
Check if number is palindrome
30. CPP Programs/largest-palindrome-product.cpp:6
↓ 1 callers
Function
checkadj
17. Graph/bipartite_using_dfs.cpp:7
↓ 1 callers
Function
checkall
17. Graph/bfs_rotten_oranges.cpp:22
↓ 1 callers
Function
checkdetail
37. Projects/salaryManagement.c:181
← previous
next →
701–800 of 4,122, ranked by callers