Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • InsertionSort

Index

Constructors

Methods

Constructors

constructor

  • new InsertionSort<T>(comparator: (a: T, b: T) => number): InsertionSort<T>

Methods

sort

  • sort(list: T[]): void

Private sortUpLowToHigh

  • sortUpLowToHigh(list: T[], i: number): void

Generated using TypeDoc