questions

package
v0.0.0-...-b9f9a78 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShuffleArray

type ShuffleArray struct {
	Orignal []int
}

ShuffleArray is

func Constructor

func Constructor(nums []int) ShuffleArray

Constructor is

func (*ShuffleArray) Reset

func (s *ShuffleArray) Reset() []int

Reset the array to its original configuration and return it.

func (*ShuffleArray) Shuffle

func (s *ShuffleArray) Shuffle() []int

Shuffle beat 15% in time

func (*ShuffleArray) Shuffle1

func (s *ShuffleArray) Shuffle1() []int

Shuffle1 beat 53.21% in time

Jump to

Keyboard shortcuts

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