permutations

package
v0.0.0-...-736f5eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2015 License: MIT Imports: 0 Imported by: 0

README

Permutations Count

Count the number of inversions in an integer array

An inversion occurs when for i, j such as 0 < i < j, A[i] > A[j]

Benchmark
BenchmarkRecursive	      20	  55381896 ns/op
BenchmarkIterative	       1	17762797326 ns/op

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL