leetcode

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: 0BSD Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindRepeatedDnaSequences

func FindRepeatedDnaSequences(s string) []string

findRepeatedDnaSequences brute force.

func FindRepeatedDnaSequences2

func FindRepeatedDnaSequences2(s string) []string

findRepeatedDnaSequences [Rabin–Karp algorithm](https://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm).

Types

Jump to

Keyboard shortcuts

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