@codinasion/selection-sort
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@codinasion/selection-sort

Typescript implementation of selection sort algorithm.

NPM Version Downloads LICENSE

rainbow hr

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
rainbow hr

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]
rainbow hr

Sponsors & Backers

Sponsors

rainbow hr

Made with 💖 by Codinasion

rainbow hr

/@codinasion/selection-sort/

    Package Sidebar

    Install

    npm i @codinasion/selection-sort

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    5.24 kB

    Total Files

    5

    Last publish

    Collaborators

    • harshraj8843