Solutions to leetcode in JavaScript and Python.
// install package
npm i
// run test
npm test
The folder will include an empty js file and a README file which contains the problem description.
yarn
# pass the problem url as an argument
yarn load https://leetcode.com/problems/combination-sum/
which will create folder js/combinationSum
with two files.
➜ leetcode git:(master) ✗ tree js/combinationSum
js/combinationSum
├── README.md # contains problem description and link to the problem
└── combination-sum.js # empty file
MIT