TypeScript DSA Learn

This is a fork of the algorithms repository called kata-machine made by ThePrimeagen to learn DSA in Typescript. This repository contains the solutions I created for the problems he had prepared for learning it.

Install dependencies

yarn install

Setup

Create a day (directories for each day of practice, or just generate it once for one directory) of katas:

yarn generate

This will progressively create directories named

src/day1
src/day2
...

yarn generate will also update the tsconfig.json and jest.config to point the latest day directory via tspaths. This allows us to avoid updating anything for testing each day.

Testing

Test each problem solved by file name:

npx jest SearchTermForFilenameHere

Test everything in one go:

yarn test