1.0.2 • Published 4 months ago

@codinasion/selection-sort v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@codinasion/selection-sort

Typescript implementation of selection sort algorithm.

NPM Version Downloads LICENSE

Installation

# if you're using pnpm
pnpm add @codinasion/selection-sort

# or, if you're using npm
npm install @codinasion/selection-sort

# or, if you're using yarn
yarn add @codinasion/selection-sort

Usage

import { SelectionSort } from "@codinasion/selection-sort";

const arr = [1, 4, 7, 2, 5, 8, 3, 6, 9];

const sortedArr = SelectionSort(arr);
console.log(sortedArr); // [1, 2, 3, 4, 5, 6, 7, 8, 9]

Sponsors & Backers

Sponsors