This project is created using Node.js
and Jest
for testing. To get started, follow these instructions:
- clone the repository
- run
npm install
- run
node <name of file>
to run the code on a specific file - run
npm run test
to run all the tests.
- The pseudocode for the first question, Tournament Winner, can be found in the
tournament.md
file - The pseudocode for the second question, Max Profit With K Transactions, can be found in the
profit.md
file