- Each folder has a README.md file and
*_test.go
file, check it and find what kind of function you need to implement. - You may use anything you want except 3rd-party packages.
- Implement the function.
- Run tests and benchmarks.
- Create a PR to
master
branch and answer questions from PR template. - We will choose the most fast and elegant solution and merge into the repo within 7 days.
- New solutions may come in after some time and be merged as well if they are: faster, cleaner, have less CPU/Mem footprint
- (@macocha) chess
- (@kennygrant) floyd
- (@ledongthuc) anagram
- (@heliac2000) jaro
- (@nguyengiabk) mergesort
- (@nguyengiabk) wordladder
- (@EvenPeng) sumdecimal
- (@bediger4000) buildword
- (@zerkms) shorthash
- (@zerkms) romannumerals
- (@zerkms) lastlettergame
- (@duckbrain) reverseparentheses
- (@kennygrant) functionfrequency
- (@marz619) coins
- (@marz619) secretmessage
- (@shogg) missingnumbers
- (@HDudzus) spiral
- (@TomLefley) warriors
- (@shogg) snowflakes
- (@shogg) brokennode
- (@shogg) nasacollage
- (@shogg) node_degree
Run it in the challenge folder:
go test -bench .
./new.sh challenge_name