Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diptangsu/Sorting-Algorithms
/ functions
Functions
423 in github.com/diptangsu/Sorting-Algorithms
⨍
Functions
423
◇
Types & classes
58
↓ 1 callers
Function
Mergesort
(items []int)
Go/MergeSort.go:30
↓ 1 callers
Function
QuickSort
(arr []int)
Go/quicksort.go:25
↓ 1 callers
Method
RandomSort
(int[] i)
Java/BogoSort.java:32
↓ 1 callers
Function
SelectionSort
(arr []int)
Go/selectionsort.go:25
↓ 1 callers
Function
TimSort
(a []int)
Go/timsort.go:5
↓ 1 callers
Function
_quick_sort
(arr: &mut [T], low: isize, high: isize)
Rust/QuickSort.rs:9
↓ 1 callers
Function
binary_search
(arr, val, start, end)
Python/BinaryInsertionSort.py:5
↓ 1 callers
Function
bitonicMerge
(arr []int, low int, count int, dir int)
Go/BitonicSort.go:11
↓ 1 callers
Method
bitonicMerge
This function merges the two halves of array in bitonic order @param arr The array/sub-array to be sorted @param start Starting Index to condider
Java/BitonicSort.java:48
↓ 1 callers
Function
bitonicSort
(arr []int, low int, count int, dir int)
Go/BitonicSort.go:23
↓ 1 callers
Function
bitonic_merge
(a, low, cnt, dire)
Python/BitonicSort.py:17
↓ 1 callers
Function
bitonic_sort
(a, low, cnt, dire)
Python/BitonicSort.py:29
↓ 1 callers
Function
bogo_sort
(arr)
Python/BogoSort.py:6
↓ 1 callers
Function
bubbleSort
($arr)
Php/BubbleSort.php:12
↓ 1 callers
Method
bubbleSort
Kotlin/BubbleSort.kt:22
↓ 1 callers
Method
bubbleSort
(int arr[], int n)
Java/RecursiveBubbleSort.java:10
↓ 1 callers
Function
bubble_sort
(arr)
Python/BubbleSort.py:5
↓ 1 callers
Function
bubblesort
C/BubbleSort.c:11
↓ 1 callers
Function
bucketSort
to sort arr[] of size n using bucket sort
Cpp/BucketSort.cpp:10
↓ 1 callers
Function
bucketSort
(&$data)
Php/BucketSort.php:2
↓ 1 callers
Function
bucketSort
JavaScript/BucketSort.js:14
↓ 1 callers
Method
bucketSort
(int[] sequence, int maxValue)
Java/BucketSort.java:10
↓ 1 callers
Function
bucket_sort
(numbers)
Python/BucketSort.py:16
↓ 1 callers
Method
calcDepth
* * @param arr * The array of elements * @return The maximum recursion depth of array */
Kotlin/IntroSort.kt:109
↓ 1 callers
Function
check_sorted
C/BogoSort.c:5
↓ 1 callers
Function
cocktailSort
Cpp/CocktailSort.cpp:3
↓ 1 callers
Method
cocktailSort
Kotlin/CocktailSort.kt:2
↓ 1 callers
Method
cocktailSort
(int array[])
Java/CocktailSort.java:3
↓ 1 callers
Function
cocktail_sort
(a)
Python/CockTailSort.py:4
↓ 1 callers
Method
combSort
Kotlin/CombSort.kt:22
↓ 1 callers
Function
combsort
C/CombSort.c:14
↓ 1 callers
Function
compAndSwap
(arr []int, x int, y int, dir int)
Go/BitonicSort.go:5
↓ 1 callers
Function
comp_and_swap
(a, i, j, dire)
Python/BitonicSort.py:8
↓ 1 callers
Function
countSort
A function to do counting sort of arr[] according to the digit represented by exp.
Cpp/RadixSort.cpp:16
↓ 1 callers
Method
countSort
(int arr[], int n, int exp)
Java/RadixSort.java:19
↓ 1 callers
Function
count_sort
(arr)
Python/CountingSort.py:7
↓ 1 callers
Function
counting_sort
($my_array, $min, $max)
Php/CountingSort.php:2
↓ 1 callers
Function
counting_sort
(arr, exp1)
Python/RadixSort.py:7
↓ 1 callers
Function
countingsort
C/CountingSort.c:4
↓ 1 callers
Method
cycleSort
Function sort the array using Cycle sort
Kotlin/CycleSort.kt:15
↓ 1 callers
Function
cycle_sort
(array)
Python/CycleSort.py:4
↓ 1 callers
Function
findLargestNum
Finds the largest number in an array
Go/radixsort.go:9
↓ 1 callers
Method
findMax
(int arr[], int n)
Java/PancakeSort.java:20
↓ 1 callers
Function
find_max
(arr, n)
Python/PancakeSort.py:21
↓ 1 callers
Function
generic_counting_sort
Generic implementation of a counting sort for all usigned types
Rust/CountSort.rs:23
↓ 1 callers
Function
getMax
A utility function to get maximum value in arr[]
Cpp/RadixSort.cpp:6
↓ 1 callers
Function
getMax
C/BucketSort.c:3
↓ 1 callers
Method
getMax
(int arr[], int n)
Java/RadixSort.java:8
↓ 1 callers
Method
getNextGap
(int gap)
Java/CombSort.java:61
↓ 1 callers
Method
getPivot
@param arr The array of elements @param low The lowest array index to sort @param high The highest array index to sor
Java/IntroSort.java:81
↓ 1 callers
Method
getWinner
(int root)
Java/TournamentSort.java:78
↓ 1 callers
Function
get_next_gap
(gap)
Python/CombSort.py:5
↓ 1 callers
Function
gnome_sort
(arr)
Python/GnomeSort.py:6
↓ 1 callers
Function
heap_sort
(arr)
Python/HeapSort.py:29
↓ 1 callers
Function
heapsort
Cpp/Introsort.cpp:37
↓ 1 callers
Function
insertionSort
Cpp/TimSort.cpp:5
↓ 1 callers
Function
insertionSort
Function to sort an array using insertion sort*/
Cpp/InsertionSort.cpp:5
↓ 1 callers
Function
insertionSort
($arr)
Php/InsertionSort.php:12
↓ 1 callers
Function
insertionSort
JavaScript/BucketSort.js:1
↓ 1 callers
Function
insertionSort
(a []int, begin, end int)
Go/timsort.go:21
↓ 1 callers
Method
insertionSort
Kotlin/InsertionSort.kt:22
↓ 1 callers
Function
insertion_sort
(arr, left, right)
Python/TimSort.py:8
↓ 1 callers
Function
insertion_sort
(arr)
Python/InsertionSort.py:3
↓ 1 callers
Function
insertion_sort
(arr)
Python/BinaryInsertionSort.py:30
↓ 1 callers
Function
insertion_sort
(arr)
Python/BucketSort.py:5
↓ 1 callers
Function
insertionsort
Cpp/Introsort.cpp:6
↓ 1 callers
Method
introSort
* * @param arr * The array of elements * @param low * The lowest array index to sort * @param high * The highest array i
Kotlin/IntroSort.kt:35
↓ 1 callers
Function
introsort
Cpp/Introsort.cpp:50
↓ 1 callers
Method
isSorted
(int[] i)
Java/BogoSort.java:58
↓ 1 callers
Method
knockout
(int i, int k, int root)
Java/TournamentSort.java:110
↓ 1 callers
Method
less
first element is less than second element. @param v first element. @param w second element. @return return true or false.
Java/BinaryInsertion.java:43
↓ 1 callers
Function
main
()
Python/MergeSort.py:47
↓ 1 callers
Method
makeMaxHeap
(int arr[])
Java/HeapSort.java:31
↓ 1 callers
Method
maxValue
(int[] sequence)
Java/BucketSort.java:33
↓ 1 callers
Function
maxval
(arr []int)
Go/bucketsort.go:40
↓ 1 callers
Function
merge
Cpp/Timsort.cpp:20
↓ 1 callers
Function
merge
Cpp/TimSort.cpp:20
↓ 1 callers
Function
merge
($left, $right)
Php/merge_sort.php:11
↓ 1 callers
Function
merge
(arr1, arr2)
JavaScript/mergeSort.js:19
↓ 1 callers
Function
merge
(arr, l, m, r)
Python/TimSort.py:21
↓ 1 callers
Function
merge
(arr: List[int], aux: List[int], lo: int, mid: int, hi: int)
Python/MergeSort.py:9
↓ 1 callers
Function
merge
(a []int, b []int)
Go/MergeSort.go:5
↓ 1 callers
Function
merge
(a []int, left, middle, right int)
Go/timsort.go:33
↓ 1 callers
Method
merge
(int arr[], int lower, int upper)
Java/MergeSort.java:29
↓ 1 callers
Method
mergeSort
Kotlin/MergeSort.kt:20
↓ 1 callers
Function
merge_sort
($my_array)
Php/merge_sort.php:2
↓ 1 callers
Function
merge_sort
(arr: List[int])
Python/MergeSort.py:42
↓ 1 callers
Function
mergesort
C/MergeSort.c:25
↓ 1 callers
Method
mkMatch
(int top, int bot, int root)
Java/TournamentSort.java:96
↓ 1 callers
Method
mkPlayer
(int i)
Java/TournamentSort.java:106
↓ 1 callers
Function
newgap
C/CombSort.c:4
↓ 1 callers
Function
oddEvenSort
Cpp/OddEvenSort.cpp:20
↓ 1 callers
Method
oddEvenSort
(int array[])
Java/OddEvenSort.java:21
↓ 1 callers
Function
pancakeSort
C/PancakeSort.c:6
↓ 1 callers
Method
pancakeSort
(int arr[], int n)
Java/PancakeSort.java:29
↓ 1 callers
Function
pancake_sort
(arr)
Python/PancakeSort.py:33
↓ 1 callers
Function
partition
Cpp/ThreeWayQuickSort.cpp:5
↓ 1 callers
Function
partition
Cpp/Introsort.cpp:21
↓ 1 callers
Function
partition
(arr: &mut [T], low: isize, high: isize)
Rust/QuickSort.rs:17
↓ 1 callers
Function
partition
(arr, low, high)
Python/QuickSort.py:8
← previous
next →
101–200 of 423, ranked by callers