Skip to content

Supports minimum and maximum queries (but not both, although one could make two RMQ's) in log(n) time. The build time is O(n). It should be noted that there is a way to achieve O(1) time using a data structure similar to segment trees...

Notifications You must be signed in to change notification settings

jcarlson212/RMQSegTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

About

Supports minimum and maximum queries (but not both, although one could make two RMQ's) in log(n) time. The build time is O(n). It should be noted that there is a way to achieve O(1) time using a data structure similar to segment trees...

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages