Array

package
v0.0.0-...-f583696 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistInTwoDimensional

func ExistInTwoDimensional(array []int, tArray [][]int) (bool, int)

ExistInTwoDimensional 在二维数组中查找某一个一维数组是否存在

func GetMax

func GetMax(a, b int) bool

GetMax 返回两个int变量的较大值

func GetMin

func GetMin(a, b int) bool

GetMin 返回两个int变量的较大值

func MinOrMax

func MinOrMax(a, b int, f func(int, int) bool) int

MinOrMax 返回两个int变量中的较大值或较小值

Types

This section is empty.

Jump to

Keyboard shortcuts

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