Algorithms TypeScript How to run: ts-node [filename].ts on the command line. You need to have TypeScript installed (npm install -g typescript).