A creative space for me to explore DSA in my own time...
Examples are in the /typescript directory and can be executed as an executable script.
For example:
./typescript/merge-sort.tsOutputs:
Before Merge Sort: [
6, 6, 5, 7, 6,
7, 0, 7, 0, 4
]
After: [
0, 0, 4, 5, 6,
6, 6, 7, 7, 7
]- (Note, Node.js and npm are required to run the TypeScript examples)