Skip to content

Instantly share code, notes, and snippets.

@acsellers
Last active August 29, 2015 13:56
Show Gist options
  • Save acsellers/9273480 to your computer and use it in GitHub Desktop.
Save acsellers/9273480 to your computer and use it in GitHub Desktop.
Short Round
package main
import "github.com/acsellers/round"
func main() {
round.PrintMatchups([]string{"abba", "bards", "cats", "ducks", "elephants"})
}
[abba, bye], [bards, elephants], [cats, ducks],
[abba, elephants], [bye, ducks], [bards, cats],
[abba, ducks], [elephants, cats], [bye, bards],
[abba, cats], [ducks, bards], [elephants, bye],
[abba, bards], [cats, bye], [ducks, elephants],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment