These are some coding problems I have solved from various sources such as LeetCode, HackerRank, coding challenges. Within each folder there is a primary .js
or .py
file that will mention the source of the problem.
- Jest - JavaScript testing framework
To run tests, first choose which problem (folder) you would like to access.
Make a clone.
Install dependencies from package.json
.
$ npm i
Run the test with
$ jest
or
$ npm test
To run doctests, first choose which problem (folder) you would like to access.
Make a clone.
Run the following command:
$ python3 -m doctest [filename].py