Practice Go: a collection of Go exercises
Go Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Go exercises and elegant solutions Build Status

How to solve

  • Each folder has a file and _test.go file, check it and find what kind of function you need to implement.
  • Code this function in the separate .go file inside a package and run tests. You may use anything you want except 3rd-party packages.
  • Create a PR with one .go file.
  • We will choose the most fast and elegant solution and merge into the repo within 7 days.

Run tests with benchmarks

Run it in the challenge folder:

go test -bench=.

How to create new challenge from template

./ challenge_name