onedrange

package
v0.0.0-...-c9a5056 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

type Tree struct {
	*btree.Tree
}

Tree is a basic binary search tree

func (*Tree) Rank

func (t *Tree) Rank(max int) int

Rank returns how many nodes less than max value.

func (*Tree) Size

func (t *Tree) Size(lo, hi int) int

Size returns how many nodes between range

Jump to

Keyboard shortcuts

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