search

package
v3.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoyerMoore

func BoyerMoore(text string, pattern string) []int

Implementation of boyer moore string search O(l) where l=len(text)

func Naive

func Naive(text string, pattern string) []int

Implementation of naive string search O(n*m) where n=len(txt) and m=len(pattern)

Types

This section is empty.

Jump to

Keyboard shortcuts

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