[![Gitter][gitter-image]][gitter-url]
These are some basic (and advanced) coding challenges
Here's the basic workflow:
[~] $ git clone https://github.com/kolodny/exercises
[~] $ cd exercises
[exercises] $ npm install
[exercises] $ cd debounce
[debounce] $ vi index.js
[debounce] $ npm test
This uses a basic TDD approach so take a look at the test.js file in each directory to see what needs to be implemented, write an index.js as the solution file
Pull requests welcome, please follow the basic workflow:
- Make a folder
- Copy a package.json from a sibling folder
- Make a test.js file
- Optionally provide a README.md
asyncbinary-searchcurrydebounceflattenflatten-thunkinvert-tree- jasmine-async
mapmemoize- merkle
middleware- morse-code
oncesortthrottle- throttle-promises
updatevalue
现在只剩
jasmine-async
/merkle
/morse-code
/throttle-promise
, 我对这些不是很感兴趣,所以 exercise 就做到此为止,有更好的解决方法可以私信我
微信: maczyt QQ: 369280416