Skip to content

Leetcode environment for tracking December 2020 challenge, cloned from https://github.com/suguru03/leetcode

Notifications You must be signed in to change notification settings

skladany/leetcode

Repository files navigation

Leetcode Problems

Working though the December 2020 Leetcode challenge.

Problem solutions are mine -- but the excellent build system is borrowed from @suguru03

Create a new problem

$ gulp init
prompt: num: <number>

It will generate a folder and files automatically.

Benchmark

$ npm run benchmark
$ node benchmark
$ node benchmark -t Roman

Test

$ npm test
$ mocha test
$ mocha test -t Roman

Test Java using mocha

$ mocha test -t '001.Two Sum' --java

Test Ruby using mocha

$ mocha test -t '001.Two Sum' --ruby

Links

# 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

About

Leetcode environment for tracking December 2020 challenge, cloned from https://github.com/suguru03/leetcode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published