Algorithms Utils TS
A set of algorithms for your project.
Installation
yarn add ts-algorithm-utilsornpm i ts-algorithm-utils
1. Sorting Algos
1.1 Quick Sort.
// import sort algo factory.; // set an unsorted array.; // get the quick sort object from ; // sort the array.; // log the output.console.logsorted;
1.2 Merge Sort.
// import sort algo factory.; // set an unsorted array.; // get the quick sort object from ; // sort the array.; // log the output.console.logsorted;
1.3 Bubble Sort.
// import sort algo factory.; // set an unsorted array.; // get the quick sort object from ; // sort the array.; // log the output.console.logsorted;
1.4 Selection Sort.
// import sort algo factory.; // set an unsorted array.; // get the quick sort object from ; // sort the array.; // log the output.console.logsorted;
1.5 Insertion Sort.
// import sort algo factory.; // set an unsorted array.; // get the quick sort object from ; // sort the array.; // log the output.console.logsorted;
1.6 Radix Sort.
// import sort algo factory.; // set an unsorted array.; // get the quick sort object from ; // sort the array.; // log the output.console.logsorted;