arraysandstrings

package
v0.0.0-...-3fc447b Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfPalindromePermutation

func CheckIfPalindromePermutation(input string) bool

func CheckIfPermutation

func CheckIfPermutation(stringOne, stringTwo string) bool

func CheckIfPermutationWithRunes

func CheckIfPermutationWithRunes(stringOne, stringTwo string) bool

func HasAllUniqueChars

func HasAllUniqueChars(input string) bool

func IsOneAwayEdited

func IsOneAwayEdited(inputOne, inputTwo string) bool

func IsStringRotation

func IsStringRotation(s1, s2 string) bool

func RotateImageBy90Degrees

func RotateImageBy90Degrees(matrix [][]int) [][]int

func StringCompression

func StringCompression(originalString string) string

A BIT FASTER IN TIME COMPLEXITY BUT WORSE IN SPACE COMPLEXITY

func StringCompressionPreliminaryCheck

func StringCompressionPreliminaryCheck(originalString string) string

FASTER TIME COMPLEXITY IF NO NEED TO COMPRESS, MUCH BETTER SPACE COMPLEXITY

func URLify

func URLify(input string, length int) string

func ZeroMatrix

func ZeroMatrix(matrix [][]int) [][]int

Types

This section is empty.

Jump to

Keyboard shortcuts

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