searchutils

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinearSearchInt

func LinearSearchInt(data []int, target int) int

LinearSearchInt is a simple for delegated to find the target value

func LinearSearchParallelInt

func LinearSearchParallelInt(data []int, target int, thread int) int

LinearSearchParallelInt is delegated to parallelize the execution of search method

func LinearSearchParallelIntHelper

func LinearSearchParallelIntHelper(wg *sync.WaitGroup, data []int, target int, result *[]int)

LinearSearchParallelIntHelper is delegated to search the number and append to the given result array

Types

This section is empty.

Jump to

Keyboard shortcuts

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