8000 GitHub - notnil/combos: Go (Golang) Combinations Package
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

notnil/combos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

combos

combos is a simple combinations package

Usage

package main

import (
	"fmt"

	"github.com/notnil/combos"
)

func main() {
	fmt.Println(combos.New(7, 5))
	// [[0 1 2 3 4] [0 1 2 3 5] [0 1 2 3 6] [0 1 2 4 5] [0 1 2 4 6] [0 1 25 6] [0 1 3 4 5] [0 1 3 4 6] [0 1 3 5 6] [0 1 4 5 6] [0 2 3 4 5] [0 2 3 4 6] [0 2 3 5 6] [0 2 4 5 6] [0 3 4 5 6] [1 2 3 4 5] [1 2 3 4 6] [1 2 3 5 6] [1 2 4 5 6] [1 3 4 5 6] [23 4 5 6]]
}

About

Go (Golang) Combinations Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0