UNPKG
@onesy/algorithms
Version:
latest (1.0.0)
1.0.0
Algorithms
github.com/onesy-org/onesy-algorithms
onesy-org/onesy-algorithms
@onesy/algorithms
/
radixSort.d.ts
4 lines
(3 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
export
declare
function
maxDigits<T =
number
>(
array
:
Array
<T>):
number
;
export
declare
function
getDigit
(
value
:
number
,
indexValue
:
number
):
number
;
export
default
function
radixSort<T =
number
>(
value
:
Array
<T>,
ascending
?:
boolean
):
Array
<T>;