rangeminimum

package
v0.0.0-...-cb1c049 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package rangeminimum solves exercise 3.10 3-26. b) is solved using two Fenwick trees as discusses in the paper "Efficient Range Minimum Queries using Binary Indexed Trees" Mircea DIMA, Rodica CETERCHI https://ioinformatics.org/journal/v9_2015_39_44.pdf

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBit

func NewBit(values []int) *bit

Space: O(N) Time: O(N)

func NewNaive

func NewNaive(values []int) *naive

Space: O(N^2) Time: O(N^2)

Types

This section is empty.

Jump to

Keyboard shortcuts

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