Working though the December 2020 Leetcode challenge.
Problem solutions are mine -- but the excellent build system is borrowed from @suguru03
$ gulp init
prompt: num: <number>
It will generate a folder and files automatically.
$ npm run benchmark
$ node benchmark
$ node benchmark -t Roman
$ npm test
$ mocha test
$ mocha test -t Roman
$ mocha test -t '001.Two Sum' --java
$ mocha test -t '001.Two Sum' --ruby
# | Title | Solution |
---|---|---|
1492 | The kth Factor of n | js |
0897 | Increasing Order Search Tree | js |
0605 | Can Place Flowers | js |
0382 | Linked List Random Node | js |
0117 | Populating Next Right Pointers in Each Node II | js |
0104 | Maximum Depth of Binary Tree | js |
0059 | Spiral Matrix II | js |