Sorts different data structures with a single piece of reusable code.
- Array of numbers
- String of characters
- Single linked list
- Uses TypeScript
- Uses abstract classes & inheritance to establish class contracts
- Sorting logic was written only once for an array of numbers, and then other data structures just had to implement the contractual methods.
- Install
npm install
- Run and develop
npm start