Exercise
Look into the /typescript folder of the Github Repository you just created. Open it using VS Code or any other editor of your choice.
Run this command to install necessary packages
npm install
Open the q*.ts files. Read the question in comment and implement it.
You can test the output of your code in the console by running
npm run tsc q1.ts #You can run any question file
Run these individually while working on your questions.
tip
Feel free to checkout the .test.ts file to know exactly what sort of test-cases have been written and adapt your program to succeed.
Submissions:
Please commit all the changes to a new branch called PRE-KDU-TYPESCRIPT and make sure you are inside the typescript folder while doing it. Follow appropriate naming for the commit messages i.e it should begin with PRE-KDU-TYPESCRIPT: Your_commit_message