Sorting algorithm written in Typescript
$ git clone https://github.com/andres-cruz/sort.git
$ cd sort
$ npm i
$ npm start
The algorithm is capable of sorting:
- Arrays of numbers
- Strings
- Linked Lists
It implements the bubble sort algorithm, which is pretty simple and maybe not the best for sorting, but the goal of this project is to write reusable code to sort different data structures.
- Written with TypeScript
- It uses ts-node library to compile TypeScript to JavaScript
- It uses nodemon and concurrently to run the project with just one command