Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA + RMQ

For a given string $xs$ we are interested in longest common prefixes between some $xs[i..]$ and $xs[j..]$. Here we give rust implementation of a structure that answers such queries in O(1) and takes O(n) to create.

Develop

Run tests with

cargo test

versions

Tested with rust 1.80.0-nightly.

About

O(n) structure on string for O(1) queries of common prefix of two suffixes

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages