stdsortint

package
v0.0.0-...-c98f1fc Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSorted

func IsSorted(data []int) bool

IsSorted reports whether data is sorted.

func Sort

func Sort(data []int)

Sort sorts data. It makes one call to data.Len to determine n, and O(n*log(n)) calls to dataless data, and dataswap.data, The sort is not guaranteed to be stable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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