code

package
v0.0.0-...-b544bf9 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factorial

func Factorial(n int64) int64

Factorial returns factorial number.

func Hash

func Hash(s string) uint32

Hash returns hashing number.

func IsPalindrome

func IsPalindrome(n int) bool

func SumEachDomainHierarchy

func SumEachDomainHierarchy(pairs []Pair) map[string]int

func ThreeSum

func ThreeSum(nums []int) [][]int

Types

type Pair

type Pair struct {
	K string
	V int
}

Pair represents key value pair.

Jump to

Keyboard shortcuts

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