search

package
v0.0.0-...-a4a72b7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 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