@codinasion/radix-sort
v1.0.2
Published
Typescript implementation of radix sort algorithm
Downloads
3
Maintainers
Readme
@codinasion/radix-sort
Typescript implementation of radix sort algorithm.
Installation
# if you're using pnpm
pnpm add @codinasion/radix-sort
# or, if you're using npm
npm install @codinasion/radix-sort
# or, if you're using yarn
yarn add @codinasion/radix-sort
Usage
import { RadixSort } from "@codinasion/radix-sort";
const arr = [1, 4, 7, 2, 5, 8, 3, 6, 9];
const sortedArr = RadixSort(arr);
console.log(sortedArr); // [1, 2, 3, 4, 5, 6, 7, 8, 9]