permutation

package
v0.0.0-...-38a5715 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(str1, str2 string) bool

Is check if two strings are permutations.

Types

type RuneSlice

type RuneSlice []rune

RuneSlice a custom type of a slice of runes.

func (RuneSlice) Len

func (p RuneSlice) Len() int

For sorting an RuneSlice.

func (RuneSlice) Less

func (p RuneSlice) Less(i, j int) bool

func (RuneSlice) Swap

func (p RuneSlice) Swap(i, j int)

Jump to

Keyboard shortcuts

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