13 lines
141 B
Go
13 lines
141 B
Go
|
package permutation
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func Test(t *testing.T) {
|
||
|
a := []int{1, 2, 3, 4}
|
||
|
p := Permutations(a)
|
||
|
fmt.Println(p)
|
||
|
}
|